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

Unified Diff: content/browser/compositor/offscreen_browser_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: Fix reflector 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/browser/compositor/offscreen_browser_compositor_output_surface.h
diff --git a/content/browser/compositor/offscreen_browser_compositor_output_surface.h b/content/browser/compositor/offscreen_browser_compositor_output_surface.h
index 1bc46645f4a555c39a3750b9ad1322815e4f9b4a..ab2e9a5942a0fa0e0a8352fe71aa4ce5ffaed3c8 100644
--- a/content/browser/compositor/offscreen_browser_compositor_output_surface.h
+++ b/content/browser/compositor/offscreen_browser_compositor_output_surface.h
@@ -42,7 +42,7 @@ class OffscreenBrowserCompositorOutputSurface
void Reshape(const gfx::Size& size, float scale_factor, bool alpha) override;
void BindFramebuffer() override;
uint32_t GetFramebufferCopyTextureFormat() override;
- void SwapBuffers(cc::CompositorFrame* frame) override;
+ void SwapBuffers(std::unique_ptr<cc::CompositorFrame> frame) override;
// BrowserCompositorOutputSurface
void OnReflectorChanged() override;

Powered by Google App Engine
This is Rietveld 408576698