Bug 132812

Summary: Make a few icon database improvements
Product: WebKit Reporter: Darin Adler <darin>
Component: WebKit Misc.Assignee: Darin Adler <darin>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, beidson, commit-queue, gordon_sheridan, japhet, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch beidson: review+

Darin Adler
Reported 2014-05-12 00:42:01 PDT
Make a few icon database improvements
Attachments
Patch (26.89 KB, patch)
2014-05-12 00:52 PDT, Darin Adler
beidson: review+
Darin Adler
Comment 1 2014-05-12 00:52:30 PDT
WebKit Commit Bot
Comment 2 2014-05-12 00:54:04 PDT
Attachment 231276 [details] did not pass style-queue: ERROR: Source/WebKit2/UIProcess/WebIconDatabase.cpp:312: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/WebKit2/UIProcess/WebIconDatabase.cpp:312: Missing space before { [whitespace/braces] [5] Total errors found: 2 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Darin Adler
Comment 3 2014-05-12 00:54:12 PDT
This takes care of a mistake I noticed after reviewing bug 132805 and quite a bit of other tidying I noticed while fixing that mistake.
Darin Adler
Comment 4 2014-05-12 10:11:15 PDT
These are mostly minor refactoring and removing unused things.
Darin Adler
Comment 5 2014-05-12 10:38:06 PDT
Brady said he’d likely review this later today.
Brady Eidson
Comment 6 2014-05-12 11:05:54 PDT
Comment on attachment 231276 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=231276&action=review > ERROR: Source/WebKit2/UIProcess/WebIconDatabase.cpp:312: Place brace on its own line for function definitions. [whitespace/braces] [4] Stylebot is wrong about this, and the bugzilla has been filed. But... > ERROR: Source/WebKit2/UIProcess/WebIconDatabase.cpp:312: Missing space before { [whitespace/braces] [5] Stylebot is right about this. For c++ lambas we put a space between the close paren and the open bracket. > Source/WebKit2/UIProcess/WebIconDatabase.cpp:311 > + return API::Data::createWithoutCopying(reinterpret_cast<const unsigned char*>(sharedBuffer->data()), sharedBuffer->size(), I didn't know about this - brilliant.
Darin Adler
Comment 7 2014-05-13 07:45:16 PDT
Note You need to log in before you can comment on or make changes to this bug.