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

Unified Diff: webkit/compositor_bindings/web_layer_tree_view_impl.cc

Issue 11348371: cc: Move WebCompositorOutputSurface and related classes into cc/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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_layer_tree_view_impl.cc
diff --git a/webkit/compositor_bindings/web_layer_tree_view_impl.cc b/webkit/compositor_bindings/web_layer_tree_view_impl.cc
index 15041165865be3bf04c01500ac941fa2c86d6c33..29fd0836d825493769c1d1bb9290a957d9f22740 100644
--- a/webkit/compositor_bindings/web_layer_tree_view_impl.cc
+++ b/webkit/compositor_bindings/web_layer_tree_view_impl.cc
@@ -236,9 +236,10 @@ void WebLayerTreeViewImpl::applyScrollAndScale(gfx::Vector2d scrollDelta, float
m_client->applyScrollAndScale(scrollDelta, pageScale);
}
-scoped_ptr<WebCompositorOutputSurface> WebLayerTreeViewImpl::createOutputSurface()
+scoped_ptr<cc::OutputSurface> WebLayerTreeViewImpl::createOutputSurface()
{
- return scoped_ptr<WebCompositorOutputSurface>(m_client->createOutputSurface());
+ WebKit::WebCompositorOutputSurface *web = m_client->createOutputSurface();
jamesr 2012/12/07 17:36:24 i think the * should go with the type
danakj 2012/12/07 17:43:13 Done.
+ return make_scoped_ptr(static_cast<cc::OutputSurface*>(web));
jamesr 2012/12/07 17:36:24 can you avoid the static cast? perhaps scoped_pt
danakj 2012/12/07 17:43:13 No :( That doesn't compile, nor does: make_scoped
}
void WebLayerTreeViewImpl::didRecreateOutputSurface(bool success)
« no previous file with comments | « webkit/compositor_bindings/web_layer_tree_view_impl.h ('k') | webkit/compositor_bindings/web_layer_tree_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698