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

Unified Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 2143263002: cc: Remove OutputSurfaceClient::DidSwapBuffers(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removedidswap: fix-webview-swap Created 4 years, 5 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: content/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index 838ec057b606a6595040bd8f44d24232116bc885..abb2c384e09a729ce978db6b865f741dfa3b1505 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -183,7 +183,6 @@ class OutputSurfaceWithoutParent : public cc::OutputSurface {
gfx::Rect(frame.gl_frame_data->size));
context_provider_->ContextSupport()->Swap();
}
- client_->DidSwapBuffers();
}
bool BindToClient(cc::OutputSurfaceClient* client) override {
@@ -267,7 +266,6 @@ class VulkanOutputSurface : public cc::OutputSurface {
void SwapBuffers(cc::CompositorFrame frame) override {
surface_->SwapBuffers();
PostSwapBuffersComplete();
- client_->DidSwapBuffers();
}
void Destroy() {

Powered by Google App Engine
This is Rietveld 408576698