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

Unified Diff: webkit/support/webkit_support.cc

Issue 12377029: Get rid of WebLayerTreeViewClient references in WebLayerTreeViewImplForTesting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months 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
« no previous file with comments | « webkit/support/webkit_support.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/webkit_support.cc
diff --git a/webkit/support/webkit_support.cc b/webkit/support/webkit_support.cc
index 1f0d6af1aea3637706efbffc321928e39ac47994..6e1155e4796d3e0da6d0ef11dde1f033122ed2bd 100644
--- a/webkit/support/webkit_support.cc
+++ b/webkit/support/webkit_support.cc
@@ -520,10 +520,9 @@ WebKit::WebGraphicsContext3D* CreateGraphicsContext3D(
return NULL;
}
-template <typename Client>
static WebKit::WebLayerTreeView* CreateLayerTreeView(
WebKit::WebLayerTreeViewImplForTesting::RenderingType type,
- Client* client) {
+ DRTLayerTreeViewClient* client) {
scoped_ptr<WebKit::WebLayerTreeViewImplForTesting> view(
new WebKit::WebLayerTreeViewImplForTesting(type, client));
@@ -541,18 +540,6 @@ static WebKit::WebLayerTreeView* CreateLayerTreeView(
}
WebKit::WebLayerTreeView* CreateLayerTreeViewSoftware(
- WebKit::WebLayerTreeViewClient* client) {
- return CreateLayerTreeView(
- WebKit::WebLayerTreeViewImplForTesting::SOFTWARE_CONTEXT, client);
-}
-
-WebKit::WebLayerTreeView* CreateLayerTreeView3d(
- WebKit::WebLayerTreeViewClient* client) {
- return CreateLayerTreeView(
- WebKit::WebLayerTreeViewImplForTesting::MESA_CONTEXT, client);
-}
-
-WebKit::WebLayerTreeView* CreateLayerTreeViewSoftware(
DRTLayerTreeViewClient* client) {
return CreateLayerTreeView(
WebKit::WebLayerTreeViewImplForTesting::SOFTWARE_CONTEXT, client);
« no previous file with comments | « webkit/support/webkit_support.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698