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

Unified Diff: cc/trees/layer_tree_host.h

Issue 54493003: Propagate source_frame_number from LTH to DevTools (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed content/test/web_layer_tree_view_impl_for_testing.h Created 7 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
Index: cc/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index aa057e0ad93fa61aca546c56f5452d392370c4bf..d64aeb60f26e8b33ad50f457090796977ee7bb42 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -127,7 +127,9 @@ class CC_EXPORT LayerTreeHost {
}
// LayerTreeHost interface to Proxy.
- void WillBeginMainFrame() { client_->WillBeginMainFrame(); }
+ void WillBeginMainFrame() {
+ client_->WillBeginMainFrame(source_frame_number_);
+ }
void DidBeginMainFrame();
void UpdateClientAnimations(base::TimeTicks monotonic_frame_begin_time);
void AnimateLayers(base::TimeTicks monotonic_frame_begin_time);

Powered by Google App Engine
This is Rietveld 408576698