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

Unified Diff: cc/io_surface_layer.cc

Issue 11472021: cc: Pass LayerTreeHostImpl to LayerImpl constructor (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
« no previous file with comments | « cc/io_surface_layer.h ('k') | cc/io_surface_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/io_surface_layer.cc
diff --git a/cc/io_surface_layer.cc b/cc/io_surface_layer.cc
index f2351c843d864ad09d42add8a82b91656eedba3e..dd824bc9784189929c5358d3cb7a7fda74efa909 100644
--- a/cc/io_surface_layer.cc
+++ b/cc/io_surface_layer.cc
@@ -30,9 +30,9 @@ void IOSurfaceLayer::setIOSurfaceProperties(uint32_t ioSurfaceId, const gfx::Siz
setNeedsCommit();
}
-scoped_ptr<LayerImpl> IOSurfaceLayer::createLayerImpl()
+scoped_ptr<LayerImpl> IOSurfaceLayer::createLayerImpl(LayerTreeHostImpl* hostImpl)
{
- return IOSurfaceLayerImpl::create(m_layerId).PassAs<LayerImpl>();
+ return IOSurfaceLayerImpl::create(hostImpl, m_layerId).PassAs<LayerImpl>();
}
bool IOSurfaceLayer::drawsContent() const
« no previous file with comments | « cc/io_surface_layer.h ('k') | cc/io_surface_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698