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

Unified Diff: cc/output/renderer.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
« no previous file with comments | « cc/output/overlay_unittest.cc ('k') | cc/output/renderer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/renderer.h
diff --git a/cc/output/renderer.h b/cc/output/renderer.h
index cfda9fe10a5e71f60b02dd05f863945bd437de13..42a864d72cb58612e805b58b4bccbb7127e3ab90 100644
--- a/cc/output/renderer.h
+++ b/cc/output/renderer.h
@@ -9,6 +9,7 @@
#include "base/macros.h"
#include "cc/base/cc_export.h"
+#include "cc/output/compositor_frame_metadata.h"
#include "cc/output/renderer_capabilities.h"
#include "cc/output/renderer_settings.h"
#include "ui/gfx/geometry/rect.h"
@@ -16,7 +17,6 @@
namespace cc {
class CompositorFrameAck;
-class CompositorFrameMetadata;
class RenderPass;
class RenderPassId;
class ScopedResource;
@@ -78,7 +78,7 @@ class CC_EXPORT Renderer {
virtual void Finish() = 0;
// Puts backbuffer onscreen.
- virtual void SwapBuffers(const CompositorFrameMetadata& metadata) = 0;
+ virtual void SwapBuffers(CompositorFrameMetadata metadata) = 0;
virtual void ReceiveSwapBuffersAck(const CompositorFrameAck& ack) {}
bool visible() const { return visible_; }
« no previous file with comments | « cc/output/overlay_unittest.cc ('k') | cc/output/renderer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698