[Webkit-unassigned] [Bug 16404] [WX] ASSERT failures in HashTable for FontPlatformData

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 11 16:05:11 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16404


darin at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #17854|review?                     |review-
               Flag|                            |




------- Comment #2 from darin at apple.com  2007-12-11 16:05 PDT -------
(From update of attachment 17854)
Looks good! Good fix.

 45     FontPlatformData::FontPlatformData(const FontDescription& desc, const
AtomicString& family);

Explicitly qualifying the name here with the class name (X::X) is incorrect
syntax, and not all compilers accept it. Also, it's WebKit practice to omit
unnecessary argument names when the type of hte parameter already makes it
clear, so "desc" should be omitted.

 46     FontPlatformData(wxFont* f);

As should "f" here.

This patch makes a bunch of formerly-inline functions no longer inline. Was
that intentional? Will it make the code slower? I like that it reduces the
amount exposed in the header.

39      switch (family){
40          case FontDescription::StandardFamily:

 41     switch (family) {
 42     case FontDescription::StandardFamily:

Here, you have changed the WebKit standard indentation of switch statements
(cases indented inside the switch, then contents indented one additional level)
to another format.

 83     if (m_font != 0 && m_font != DELETED_FONT)

WebKit coding style omits the != 0 in cases like this one.

review- because of the FontPlatformData::FontPlatformData issue. The other
issues are smaller ones.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list