[webkit-reviews] review denied: [Bug 69048] [Chromium] Separate compositor platform support from webkit's platform support : [Attachment 110204] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 11 10:51:16 PDT 2011


Darin Fisher (:fishd, Google) <fishd at chromium.org> has denied Antoine Labour
<piman at chromium.org>'s request for review:
Bug 69048: [Chromium] Separate compositor platform support from webkit's
platform support
https://bugs.webkit.org/show_bug.cgi?id=69048

Attachment 110204: Patch
https://bugs.webkit.org/attachment.cgi?id=110204&action=review

------- Additional Comments from Darin Fisher (:fishd, Google)
<fishd at chromium.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=110204&action=review


> Source/WebCore/platform/graphics/chromium/CompositorSupport.cpp:34
> +    return s_delegate->currentTime();

Instead of thunking through a Delegate interface, we normally just move the
implementation of these methods to WebKit/chromium/src, so that we can call
WebKit APIs directly.  it avoids the need to define the intermediate vtable.

> Source/WebKit/chromium/public/WebKit.h:78
> +WEBKIT_EXPORT void initializeCompositor(WebCallOnMainThreadFunc);

it seems like these should be methods on WebCompositor.  we already have
WebCompositor::setThread.
it seems like you can do the WebCore::CCProxy::setMainThread(currentThread())
call there, if we
don't already.	it seems like WebCompositor could have a static method for
setting the
WebCompositorSupport interface.  also, perhaps the CallOnMainThread support
should be provided
via WebCompositorSupport instead?

maybe WebCompositor::setThread should be changed to WebCompositor::initialize?


More information about the webkit-reviews mailing list