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

Unified Diff: cc/layers/surface_layer.cc

Issue 1178963003: Trace main thread commit in flow events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make OnCommit virtual and only LatencyInfoSwapPromise can call it to trace flow events. Created 5 years, 6 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
« no previous file with comments | « no previous file | cc/output/latency_info_swap_promise.h » ('j') | cc/output/swap_promise.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/surface_layer.cc
diff --git a/cc/layers/surface_layer.cc b/cc/layers/surface_layer.cc
index e1862303caac1e4e6e02c8c70e119d722d8257ba..200b8ded2ae82ee9f39c0b52b9f11b1fd69ffe90 100644
--- a/cc/layers/surface_layer.cc
+++ b/cc/layers/surface_layer.cc
@@ -28,6 +28,7 @@ class SatisfySwapPromise : public SwapPromise {
satisfy_callback_.Run(sequence_);
}
int64 TraceId() const override { return 0; }
+ void OnCommit() override { return; }
SurfaceSequence sequence_;
SurfaceLayer::SatisfyCallback satisfy_callback_;
« no previous file with comments | « no previous file | cc/output/latency_info_swap_promise.h » ('j') | cc/output/swap_promise.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698