[webkit-reviews] review denied: [Bug 56425] WebKit2 Icon Database : [Attachment 86991] Patch - Add minimal WK2 API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 25 16:52:53 PDT 2011


Sam Weinig <sam at webkit.org> has denied Brady Eidson <beidson at apple.com>'s
request for review:
Bug 56425: WebKit2 Icon Database
https://bugs.webkit.org/show_bug.cgi?id=56425

Attachment 86991: Patch - Add minimal WK2 API
https://bugs.webkit.org/attachment.cgi?id=86991&action=review

------- Additional Comments from Sam Weinig <sam at webkit.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=86991&action=review

> Source/WebKit2/UIProcess/API/C/WKIconDatabase.h:38
> +WK_EXPORT void WKIconDatabaseRetainIconForURL(WKIconDatabaseRef
iconDatabase, WKStringRef pageURL);
> +WK_EXPORT void WKIconDatabaseReleaseIconForURL(WKIconDatabaseRef
iconDatabase, WKStringRef pageURL);

Why don't these take WKURLRefs?

> Source/WebKit2/UIProcess/API/C/cg/WKIconDatabaseCG.cpp:39
> +    WebCore::Image* image =
toImpl(iconDatabaseRef)->imageForPageURL(toWTFString(urlStringRef));

WebCore:: not necessary here.

> Source/WebKit2/UIProcess/API/C/cg/WKIconDatabaseCG.h:36
> +WK_EXPORT CGImageRef WKIconDatabaseGetCGImageForURL(WKIconDatabaseRef
iconDatabase, WKStringRef urlString);

Why does this not take a WKURLRef?


More information about the webkit-reviews mailing list