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

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

Issue 2096493002: Make cc::CompositorFrames movable [Part 1 of 2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Dana's nits Created 4 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/android/synchronous_compositor_output_surface.h
diff --git a/content/renderer/android/synchronous_compositor_output_surface.h b/content/renderer/android/synchronous_compositor_output_surface.h
index 5d543f8807590786f7aa66014c43aa4659ac00da..533274a4a4d005f220057138a5fe88fe5ee48224 100644
--- a/content/renderer/android/synchronous_compositor_output_surface.h
+++ b/content/renderer/android/synchronous_compositor_output_surface.h
@@ -42,7 +42,7 @@ class SynchronousCompositorOutputSurfaceClient {
virtual void DidActivatePendingTree() = 0;
virtual void Invalidate() = 0;
virtual void SwapBuffers(uint32_t output_surface_id,
- cc::CompositorFrame* frame) = 0;
+ cc::CompositorFrame frame) = 0;
protected:
virtual ~SynchronousCompositorOutputSurfaceClient() {}
@@ -77,7 +77,7 @@ class SynchronousCompositorOutputSurface
void Reshape(const gfx::Size& size,
float scale_factor,
bool has_alpha) override;
- void SwapBuffers(cc::CompositorFrame* frame) override;
+ void SwapBuffers(cc::CompositorFrame frame) override;
void Invalidate() override;
void BindFramebuffer() override;
uint32_t GetFramebufferCopyTextureFormat() override;
« no previous file with comments | « content/public/test/browser_test_utils.cc ('k') | content/renderer/android/synchronous_compositor_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698