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

Unified Diff: android_webview/browser/parent_output_surface.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
Index: android_webview/browser/parent_output_surface.cc
diff --git a/android_webview/browser/parent_output_surface.cc b/android_webview/browser/parent_output_surface.cc
index 601c487fa6b83fae0e7bf1d523375a2ce3bca28d..7c6dd98080e6d9e0c78431352d54df3cc1db968c 100644
--- a/android_webview/browser/parent_output_surface.cc
+++ b/android_webview/browser/parent_output_surface.cc
@@ -5,6 +5,7 @@
#include "android_webview/browser/parent_output_surface.h"
#include "android_webview/browser/aw_render_thread_context_provider.h"
+#include "cc/output/compositor_frame.h"
#include "cc/output/output_surface_client.h"
#include "gpu/command_buffer/client/gles2_interface.h"
@@ -31,7 +32,7 @@ void ParentOutputSurface::Reshape(const gfx::Size& size,
surface_size_ = size;
}
-void ParentOutputSurface::SwapBuffers(cc::CompositorFrame* frame) {
+void ParentOutputSurface::SwapBuffers(cc::CompositorFrame frame) {
context_provider_->ContextGL()->ShallowFlushCHROMIUM();
client_->DidSwapBuffers();
}
« no previous file with comments | « android_webview/browser/parent_output_surface.h ('k') | blimp/client/feature/compositor/blimp_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698