Index: content/public/browser/android/synchronous_compositor.h |
diff --git a/content/public/browser/android/synchronous_compositor.h b/content/public/browser/android/synchronous_compositor.h |
index a4d5b40e91edb64c96fc6df5772c0a8f946d5b65..b6e9f1f8cabaeb5113f2fadd5312574e63575e6b 100644 |
--- a/content/public/browser/android/synchronous_compositor.h |
+++ b/content/public/browser/android/synchronous_compositor.h |
@@ -81,7 +81,8 @@ class CONTENT_EXPORT SynchronousCompositor { |
// |viewport_size| is the current size to improve results during resize. |
// |viewport_rect_for_tile_priority| and |transform_for_tile_priority| are |
// used to customize the tiling decisions of compositor. |
- virtual Frame DemandDrawHw( |
+ // TODO(ojars): update this and the next documentation |
+ virtual SynchronousCompositor::Frame DemandDrawHw( |
const gfx::Size& viewport_size, |
const gfx::Rect& viewport_rect_for_tile_priority, |
const gfx::Transform& transform_for_tile_priority) = 0; |
@@ -89,7 +90,7 @@ class CONTENT_EXPORT SynchronousCompositor { |
// Same as DemandDrawHw, but uses asynchronous IPC messages. Calls |
// SynchronousCompositorClient::OnDrawHardwareProcessFrame to return the |
// frame. |
- virtual void DemandDrawHwAsync( |
+ virtual scoped_refptr<SynchronousCompositor::FrameFuture> DemandDrawHwAsync( |
const gfx::Size& viewport_size, |
const gfx::Rect& viewport_rect_for_tile_priority, |
const gfx::Transform& transform_for_tile_priority) = 0; |