DescriptionRemove WebCompositorSupport::initialize/shutdown dependency from webkit_support::CreateLayerTreeView
webkit_support::CreateLayerTreeView is used by WebViewHost to construct
compositor instances for DumpRenderTree to use in layout tests. This
code creates and manages the thread used for compositor (in TestShell)
and can pass it directly into the Create..() calls without needing to
register it on WebCompositorSupport. This is closer to what the production
code (in content::RenderWidgetCompositor) does.
This adds a new entry point where the caller specifies the thread. After this
lands and rolls into WebKit, I'll migrate WebViewHost to call the new function
and after that rolls into Chromium remove these deprecated versions along with
WebCompositorSupport::initialize/shutdown.
R=enne@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=185963
Patch Set 1 #Patch Set 2 : test_webkit_platform_support #
Messages
Total messages: 4 (0 generated)
|