Index: cc/debug_rect_history.cc |
diff --git a/cc/debug_rect_history.cc b/cc/debug_rect_history.cc |
index 6d7fa8aca2b93d37c2ba24b2835aa37a5a39ae13..be7c99ae72ab170f204acca25a81559e52ddf19a 100644 |
--- a/cc/debug_rect_history.cc |
+++ b/cc/debug_rect_history.cc |
@@ -5,8 +5,8 @@ |
#include "cc/debug_rect_history.h" |
#include "cc/damage_tracker.h" |
+#include "cc/heads_up_display_layer.h" |
#include "cc/layer_impl.h" |
-#include "cc/layer_tree_host.h" |
#include "cc/math_util.h" |
namespace cc { |
@@ -24,7 +24,7 @@ DebugRectHistory::~DebugRectHistory() |
{ |
} |
-void DebugRectHistory::saveDebugRectsForCurrentFrame(LayerImpl* rootLayer, const std::vector<LayerImpl*>& renderSurfaceLayerList, const std::vector<gfx::Rect>& occludingScreenSpaceRects, const std::vector<gfx::Rect>& nonOccludingScreenSpaceRects, const LayerTreeSettings& settings) |
+void DebugRectHistory::saveDebugRectsForCurrentFrame(LayerImpl* rootLayer, const std::vector<LayerImpl*>& renderSurfaceLayerList, const std::vector<gfx::Rect>& occludingScreenSpaceRects, const std::vector<gfx::Rect>& nonOccludingScreenSpaceRects, const HeadsUpDisplayLayerSettings& settings) |
{ |
// For now, clear all rects from previous frames. In the future we may want to store |
// all debug rects for a history of many frames. |