Index: content/browser/renderer_host/render_widget_host_view_android.h |
diff --git a/content/browser/renderer_host/render_widget_host_view_android.h b/content/browser/renderer_host/render_widget_host_view_android.h |
index 8b8b5d1cc8505bce25df18161020d2febea15aec..e00501ee73ca912b6d3fc263f0ffbda56449b7d5 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_android.h |
+++ b/content/browser/renderer_host/render_widget_host_view_android.h |
@@ -149,9 +149,8 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid |
BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; |
bool LockMouse() override; |
void UnlockMouse() override; |
- void OnSwapCompositorFrame( |
- uint32_t output_surface_id, |
- std::unique_ptr<cc::CompositorFrame> frame) override; |
+ void OnSwapCompositorFrame(uint32_t output_surface_id, |
+ cc::CompositorFrame frame) override; |
void ClearCompositorFrame() override; |
void DidOverscroll(const DidOverscrollParams& params) override; |
void DidStopFlinging() override; |
@@ -266,9 +265,9 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid |
void DestroyDelegatedContent(); |
void CheckOutputSurfaceChanged(uint32_t output_surface_id); |
- void SubmitCompositorFrame(std::unique_ptr<cc::CompositorFrame> frame_data); |
+ void SubmitCompositorFrame(cc::CompositorFrame frame_data); |
void SwapDelegatedFrame(uint32_t output_surface_id, |
- std::unique_ptr<cc::CompositorFrame> frame_data); |
+ cc::CompositorFrame frame_data); |
void SendDelegatedFrameAck(uint32_t output_surface_id); |
void SendReturnedDelegatedResources(uint32_t output_surface_id); |
@@ -305,11 +304,10 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid |
// Drop any incoming frames from the renderer when there are locks on the |
// current frame. |
- void RetainFrame(uint32_t output_surface_id, |
- std::unique_ptr<cc::CompositorFrame> frame); |
+ void RetainFrame(uint32_t output_surface_id, cc::CompositorFrame frame); |
void InternalSwapCompositorFrame(uint32_t output_surface_id, |
- std::unique_ptr<cc::CompositorFrame> frame); |
+ cc::CompositorFrame frame); |
void OnLostResources(); |
enum VSyncRequestType { |
@@ -393,11 +391,10 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid |
bool observing_root_window_; |
struct LastFrameInfo { |
- LastFrameInfo(uint32_t output_id, |
- std::unique_ptr<cc::CompositorFrame> output_frame); |
+ LastFrameInfo(uint32_t output_id, cc::CompositorFrame output_frame); |
~LastFrameInfo(); |
uint32_t output_surface_id; |
- std::unique_ptr<cc::CompositorFrame> frame; |
+ cc::CompositorFrame frame; |
}; |
std::unique_ptr<LastFrameInfo> last_frame_info_; |