Index: cc/trees/layer_tree_host_impl.h |
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h |
index f8521c96e353adb54b369cbeed35d9b0809b2908..f0fa245ab2194c7494c053e1b32cd9b03359e7fb 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -18,6 +18,7 @@ |
#include "cc/animation/scrollbar_animation_controller.h" |
#include "cc/base/cc_export.h" |
#include "cc/base/synced_property.h" |
+#include "cc/debug/frame_timing_tracker.h" |
#include "cc/debug/micro_benchmark_controller_impl.h" |
#include "cc/input/input_handler.h" |
#include "cc/input/layer_scroll_offset_delegate.h" |
@@ -512,6 +513,10 @@ class CC_EXPORT LayerTreeHostImpl |
bool prepare_tiles_needed() const { return tile_priorities_dirty_; } |
+ FrameTimingTracker* frame_timing_tracker() { |
+ return frame_timing_tracker_.get(); |
+ } |
+ |
protected: |
LayerTreeHostImpl( |
const LayerTreeSettings& settings, |
@@ -730,6 +735,9 @@ class CC_EXPORT LayerTreeHostImpl |
bool requires_high_res_to_draw_; |
bool required_for_draw_tile_is_top_of_raster_queue_; |
+ scoped_ptr<FrameTimingTracker> frame_timing_tracker_; |
+ std::vector<FrameTimingTracker::FrameAndRectIds> current_composite_events_; |
+ |
DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
}; |