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

Unified Diff: content/browser/compositor/browser_compositor_output_surface.cc

Issue 2465093002: cc: Add OutputSurface state snapshots.
Patch Set: nits Created 4 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: content/browser/compositor/browser_compositor_output_surface.cc
diff --git a/content/browser/compositor/browser_compositor_output_surface.cc b/content/browser/compositor/browser_compositor_output_surface.cc
index b93b865efe759fa4788091c0b7df3c096926a9b8..ad2e0f535de678ad7e010b703da25e324e159a6d 100644
--- a/content/browser/compositor/browser_compositor_output_surface.cc
+++ b/content/browser/compositor/browser_compositor_output_surface.cc
@@ -60,6 +60,8 @@ BrowserCompositorOutputSurface::~BrowserCompositorOutputSurface() {
void BrowserCompositorOutputSurface::OnUpdateVSyncParametersFromGpu(
base::TimeTicks timebase,
base::TimeDelta interval) {
+ last_vsync_timebase_ = timebase;
+ last_vsync_interval_ = interval;
danakj 2016/11/01 23:33:01 shouldnt this be after the is_zero adjustment
reveman 2016/11/02 00:37:05 Done.
if (interval.is_zero()) {
// TODO(brianderson): We should not be receiving 0 intervals.
interval = cc::BeginFrameArgs::DefaultInterval();

Powered by Google App Engine
This is Rietveld 408576698