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

Unified Diff: content/renderer/gpu/compositor_output_surface.cc

Issue 16863005: cc: Add BeginFrameArgs (Closed) Base URL: http://git.chromium.org/chromium/src.git@nofrc12
Patch Set: Created 7 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
Index: content/renderer/gpu/compositor_output_surface.cc
diff --git a/content/renderer/gpu/compositor_output_surface.cc b/content/renderer/gpu/compositor_output_surface.cc
index 30fbc3079d85d642c806df0bff5fb6b691ac5968..cfc284f8c0e3d18851108f818c0385cbeab356d4 100644
--- a/content/renderer/gpu/compositor_output_surface.cc
+++ b/content/renderer/gpu/compositor_output_surface.cc
@@ -138,9 +138,9 @@ void CompositorOutputSurface::SetNeedsBeginFrame(bool enable) {
OutputSurface::SetNeedsBeginFrame(enable);
}
-void CompositorOutputSurface::OnBeginFrame(base::TimeTicks frame_time) {
+void CompositorOutputSurface::OnBeginFrame(cc::BeginFrameArgs args) {
DCHECK(CalledOnValidThread());
- BeginFrame(frame_time);
+ BeginFrame(args);
}
#endif // defined(OS_ANDROID)

Powered by Google App Engine
This is Rietveld 408576698