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

Unified Diff: cc/output/renderer_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: Reduce android_webview changes 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: cc/output/renderer_unittest.cc
diff --git a/cc/output/renderer_unittest.cc b/cc/output/renderer_unittest.cc
index 3e91248761192ae48d13bb20d87015a692ad5348..8a3bcd0973844d387b53eb2dedd5bb7b0ef6d1bc 100644
--- a/cc/output/renderer_unittest.cc
+++ b/cc/output/renderer_unittest.cc
@@ -21,8 +21,8 @@ class TestOutputSurface : public OutputSurface {
explicit TestOutputSurface(scoped_refptr<ContextProvider> context_provider);
~TestOutputSurface() override;
- // OutputSurface implementation.
- void SwapBuffers(CompositorFrame* frame) override;
+ // OutputSurface implementation
danakj 2016/06/24 18:35:11 put the period back please :)
Fady Samuel 2016/06/24 20:00:24 Done.
+ void SwapBuffers(CompositorFrame frame) override;
uint32_t GetFramebufferCopyTextureFormat() override { return GL_RGB; }
};
@@ -33,7 +33,7 @@ TestOutputSurface::TestOutputSurface(
TestOutputSurface::~TestOutputSurface() {
}
-void TestOutputSurface::SwapBuffers(CompositorFrame* frame) {
+void TestOutputSurface::SwapBuffers(CompositorFrame frame) {
client_->DidSwapBuffers();
client_->DidSwapBuffersComplete();
}

Powered by Google App Engine
This is Rietveld 408576698