Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(462)

Unified Diff: webkit/compositor_bindings/web_content_layer_impl.cc

Issue 11231017: Remove ::create factory functions from objects created via WebCompositorSupport (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/compositor_bindings/web_content_layer_impl.cc
diff --git a/webkit/compositor_bindings/web_content_layer_impl.cc b/webkit/compositor_bindings/web_content_layer_impl.cc
index 853970dfc67d7f5f9f00dc0cc0a71b3e7f5d0597..7c38f6fd373833a7cd8ae9da58c45458b9443c8e 100644
--- a/webkit/compositor_bindings/web_content_layer_impl.cc
+++ b/webkit/compositor_bindings/web_content_layer_impl.cc
@@ -24,11 +24,6 @@ static bool usingPictureLayer()
return CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kImplSidePainting);
}
-WebContentLayer* WebContentLayer::create(WebContentLayerClient* client)
-{
- return new WebContentLayerImpl(client);
-}
-
WebContentLayerImpl::WebContentLayerImpl(WebContentLayerClient* client)
: m_client(client)
{
« no previous file with comments | « webkit/compositor_bindings/web_animation_impl.cc ('k') | webkit/compositor_bindings/web_external_texture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698