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

Unified Diff: cc/layers/heads_up_display_layer.cc

Issue 2317753002: cc: Abstract the LayerTreeHost. (Closed)
Patch Set: Rebase Created 4 years, 3 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 | « cc/BUILD.gn ('k') | cc/layers/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/heads_up_display_layer.cc
diff --git a/cc/layers/heads_up_display_layer.cc b/cc/layers/heads_up_display_layer.cc
index f230b00736626e1686d0cd3c50b2bdcc8a781655..ff9cad43206e83f888dec5756954fb53c7e0c6bb 100644
--- a/cc/layers/heads_up_display_layer.cc
+++ b/cc/layers/heads_up_display_layer.cc
@@ -40,7 +40,7 @@ void HeadsUpDisplayLayer::PrepareForCalculateDrawProperties(
gfx::Transform matrix;
matrix.MakeIdentity();
- if (layer_tree_host()->debug_state().ShowHudRects()) {
+ if (layer_tree_host()->GetDebugState().ShowHudRects()) {
bounds = device_viewport_in_layout_pixels;
} else {
int size = 256;
« no previous file with comments | « cc/BUILD.gn ('k') | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698