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

Unified Diff: content/renderer/android/synchronous_compositor_output_surface.cc

Issue 15836005: cc: Emulate BeginFrame in OutputSurfaces that don't support it natively (Closed) Base URL: http://git.chromium.org/chromium/src.git@nofrc
Patch Set: Created 7 years, 7 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/android/synchronous_compositor_output_surface.cc
diff --git a/content/renderer/android/synchronous_compositor_output_surface.cc b/content/renderer/android/synchronous_compositor_output_surface.cc
index f8db0549a861f7760cdac587bf8fb32f6aa5456b..92a01652b25337beede8c1dc2374011ab36f9c69 100644
--- a/content/renderer/android/synchronous_compositor_output_surface.cc
+++ b/content/renderer/android/synchronous_compositor_output_surface.cc
@@ -187,9 +187,9 @@ void SynchronousCompositorOutputSurface::InvokeComposite(
gfx::Rect damage_area) {
// TODO(boliu): This assumes |transform| is identity and |damage_area| is the
// whole view. Tracking bug to implement this: crbug.com/230463.
- client_->SetNeedsRedrawRect(damage_area);
+ SetNeedsRedrawRect(damage_area);
if (needs_begin_frame_)
- client_->BeginFrame(base::TimeTicks::Now());
+ BeginFrame(base::TimeTicks::Now());
}
// Not using base::NonThreadSafe as we want to enforce a more exacting threading

Powered by Google App Engine
This is Rietveld 408576698