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

Unified Diff: cc/test/layer_tree_test.cc

Issue 397443002: [not for review] Add Draw entries to window Performance Timeline Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git pull of third_party/WebKit Created 6 years, 5 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
Index: cc/test/layer_tree_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index d72860d81cef30e481f98738ed2115c79b8fcb23..95dfb9de30816639847e6d849fd4a77e44229cc2 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -287,6 +287,11 @@ class LayerTreeHostClientForTesting : public LayerTreeHostClient,
test_hooks_->ApplyScrollAndScale(scroll_delta, scale);
}
+ virtual void RecordDrawTiming(int64_t rect_id,
+ const std::vector<std::pair<int, base::TimeTicks> >& draws) OVERRIDE {
+ test_hooks_->RecordDrawTiming(rect_id, draws);
+ }
+
virtual scoped_ptr<OutputSurface> CreateOutputSurface(bool fallback)
OVERRIDE {
return test_hooks_->CreateOutputSurface(fallback);

Powered by Google App Engine
This is Rietveld 408576698