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

Unified Diff: cc/debug_rect_history.h

Issue 11414017: cc: handling debug settings in new LayerTreeDebugState structure (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rewrote to LayerTreeSwitches Created 8 years, 1 month 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/debug_rect_history.cc » ('j') | cc/layer_tree_host.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug_rect_history.h
diff --git a/cc/debug_rect_history.h b/cc/debug_rect_history.h
index b8c507744193e4c67f438a9bba82e314617809b3..9dda146d128ffc1d8a6935de761fc1bb5fefa6c6 100644
--- a/cc/debug_rect_history.h
+++ b/cc/debug_rect_history.h
@@ -14,7 +14,7 @@
namespace cc {
class LayerImpl;
-struct LayerTreeSettings;
+struct LayerTreeSwitches;
// There are currently six types of debug rects:
//
@@ -59,7 +59,7 @@ public:
~DebugRectHistory();
// Note: Saving debug rects must happen before layers' change tracking is reset.
- void saveDebugRectsForCurrentFrame(LayerImpl* rootLayer, const std::vector<LayerImpl*>& renderSurfaceLayerList, const std::vector<gfx::Rect>& occludingScreenSpaceRects, const std::vector<gfx::Rect>& nonOccludingScreenSpaceRects, const LayerTreeSettings&);
+ void saveDebugRectsForCurrentFrame(LayerImpl* rootLayer, const std::vector<LayerImpl*>& renderSurfaceLayerList, const std::vector<gfx::Rect>& occludingScreenSpaceRects, const std::vector<gfx::Rect>& nonOccludingScreenSpaceRects, const LayerTreeSwitches& switches);
const std::vector<DebugRect>& debugRects() { return m_debugRects; }
« no previous file with comments | « no previous file | cc/debug_rect_history.cc » ('j') | cc/layer_tree_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698