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

Unified Diff: cc/tiled_layer_impl.cc

Issue 11529003: [cc] Route LayerImpl::layerTreeHostImpl() calls through LayerTreeImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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/render_surface_impl.cc ('k') | cc/video_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiled_layer_impl.cc
diff --git a/cc/tiled_layer_impl.cc b/cc/tiled_layer_impl.cc
index ede77cb25d95a7dd46f81e03972f7e718905dfca..67144052561e01d462aa43f71540f4090284ba5e 100644
--- a/cc/tiled_layer_impl.cc
+++ b/cc/tiled_layer_impl.cc
@@ -112,7 +112,7 @@ DrawableTile* TiledLayerImpl::createTile(int i, int j)
void TiledLayerImpl::getDebugBorderProperties(SkColor* color, float* width) const
{
*color = DebugColors::TiledContentLayerBorderColor();
- *width = DebugColors::TiledContentLayerBorderWidth(layerTreeHostImpl());
+ *width = DebugColors::TiledContentLayerBorderWidth(layerTreeImpl());
}
void TiledLayerImpl::appendQuads(QuadSink& quadSink, AppendQuadsData& appendQuadsData)
@@ -138,10 +138,10 @@ void TiledLayerImpl::appendQuads(QuadSink& quadSink, AppendQuadsData& appendQuad
if (m_skipsDraw || !tile || !tile->resourceId()) {
borderColor = DebugColors::MissingTileBorderColor();
- borderWidth = DebugColors::MissingTileBorderWidth(layerTreeHostImpl());
+ borderWidth = DebugColors::MissingTileBorderWidth(layerTreeImpl());
} else {
borderColor = DebugColors::TileBorderColor();
- borderWidth = DebugColors::TileBorderWidth(layerTreeHostImpl());
+ borderWidth = DebugColors::TileBorderWidth(layerTreeImpl());
}
scoped_ptr<DebugBorderDrawQuad> debugBorderQuad = DebugBorderDrawQuad::Create();
debugBorderQuad->SetNew(sharedQuadState, tileRect, borderColor, borderWidth);
« no previous file with comments | « cc/render_surface_impl.cc ('k') | cc/video_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698