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

Unified Diff: cc/output/overlay_unittest.cc

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/output_surface_unittest.cc ('k') | cc/output/renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/overlay_unittest.cc
diff --git a/cc/output/overlay_unittest.cc b/cc/output/overlay_unittest.cc
index 35140d8377e8e835f12b026a8fbea4a47d82b887..8a79ea22f742027c7bddd93115165b14a5f1169b 100644
--- a/cc/output/overlay_unittest.cc
+++ b/cc/output/overlay_unittest.cc
@@ -8,6 +8,7 @@
#include "base/memory/ptr_util.h"
#include "cc/base/region.h"
+#include "cc/output/compositor_frame.h"
#include "cc/output/compositor_frame_metadata.h"
#include "cc/output/gl_renderer.h"
#include "cc/output/output_surface.h"
@@ -154,7 +155,7 @@ class OverlayOutputSurface : public OutputSurface {
// TestContextProvider has no real framebuffer, just use RGB.
return GL_RGB;
}
- void SwapBuffers(CompositorFrame* frame) override {
+ void SwapBuffers(CompositorFrame frame) override {
client_->DidSwapBuffers();
}
void OnSwapBuffersComplete() override { client_->DidSwapBuffersComplete(); }
« no previous file with comments | « cc/output/output_surface_unittest.cc ('k') | cc/output/renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698