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 228e9a02349e4614528d46a1c454e7f57062ba34..a1d6fe9e1588c31f1ff1c21b53f02366cd882dcb 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_android.h |
+++ b/content/browser/renderer_host/render_widget_host_view_android.h |
@@ -148,9 +148,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; |
@@ -265,9 +264,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); |
@@ -304,11 +303,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 { |
@@ -392,11 +390,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_; |