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

Unified Diff: cc/debug/invalidation_benchmark.cc

Issue 2251143002: cc: Reland Move data to LayerTree from LayerTreeHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better fix? Created 4 years, 4 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 | « no previous file | cc/layers/heads_up_display_unittest.cc » ('j') | cc/layers/layer_proto_converter.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/invalidation_benchmark.cc
diff --git a/cc/debug/invalidation_benchmark.cc b/cc/debug/invalidation_benchmark.cc
index 36547c1d6ab18aed559584ebc2f3004ee06effe7..7bb17d8dec407e089e2ecb689df50e4c0c9964db 100644
--- a/cc/debug/invalidation_benchmark.cc
+++ b/cc/debug/invalidation_benchmark.cc
@@ -75,7 +75,7 @@ void InvalidationBenchmark::RunOnLayer(PictureLayer* layer) {
if (!invertible)
from_screen = gfx::Transform();
gfx::Rect viewport_rect = MathUtil::ProjectEnclosingClippedRect(
- from_screen, gfx::Rect(layer->layer_tree_host()->device_viewport_size()));
+ from_screen, gfx::Rect(layer->GetLayerTree()->device_viewport_size()));
visible_layer_rect.Intersect(viewport_rect);
switch (mode_) {
case FIXED_SIZE: {
« no previous file with comments | « no previous file | cc/layers/heads_up_display_unittest.cc » ('j') | cc/layers/layer_proto_converter.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698