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

Unified Diff: cc/output/output_surface.h

Issue 2374183006: Remove GLFrameData from CompositorFrame. (Closed)
Patch Set: Address comments. Created 4 years, 2 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: cc/output/output_surface.h
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h
index 27e59139936bb17d307ff00adb6239989d4d78f1..2d84b902427fd883a20cb0d2610bbb6b6e962e6b 100644
--- a/cc/output/output_surface.h
+++ b/cc/output/output_surface.h
@@ -35,9 +35,9 @@ class Transform;
namespace cc {
-class CompositorFrame;
struct ManagedMemoryPolicy;
class OutputSurfaceClient;
+class OutputSurfaceFrame;
// Represents the output surface for a compositor. The compositor owns
// and manages its destruction. Its lifetime is:
@@ -132,7 +132,7 @@ class CC_EXPORT OutputSurface : public base::trace_event::MemoryDumpProvider {
// passed in (though it will not take ownership of the CompositorFrame
// itself). For successful swaps, the implementation must call
// OutputSurfaceClient::DidSwapBuffersComplete() eventually.
- virtual void SwapBuffers(CompositorFrame frame) = 0;
+ virtual void SwapBuffers(OutputSurfaceFrame frame) = 0;
// base::trace_event::MemoryDumpProvider implementation.
bool OnMemoryDump(const base::trace_event::MemoryDumpArgs& args,

Powered by Google App Engine
This is Rietveld 408576698