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

Unified Diff: cc/trees/thread_proxy.h

Issue 1432463002: cc: Track BeginMainFrame more precisely in CompositorTimingHistory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed unit tests. New tests to be added. Created 5 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/thread_proxy.h
diff --git a/cc/trees/thread_proxy.h b/cc/trees/thread_proxy.h
index c3f3f2f9a64106c6ba2863757b951eb8b7b8e791..3aaef46f01536e1b6adf1e2f02be912838fcfd50 100644
--- a/cc/trees/thread_proxy.h
+++ b/cc/trees/thread_proxy.h
@@ -291,8 +291,11 @@ class CC_EXPORT ThreadProxy : public Proxy,
bool* main_frame_will_happen) override;
void SetNeedsCommitOnImpl() override;
void SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect) override;
- void BeginMainFrameAbortedOnImpl(CommitEarlyOutReason reason) override;
- void StartCommitOnImpl(CompletionEvent* completion) override;
+ void BeginMainFrameAbortedOnImpl(
+ CommitEarlyOutReason reason,
+ base::TimeTicks main_thread_start_time) override;
+ void StartCommitOnImpl(CompletionEvent* completion,
+ base::TimeTicks main_thread_start_time) override;
// Returns |true| if the request was actually sent, |false| if one was
// already outstanding.

Powered by Google App Engine
This is Rietveld 408576698