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

Unified Diff: services/ui/public/cpp/lib/output_surface.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
« no previous file with comments | « content/renderer/gpu/compositor_output_surface.cc ('k') | services/ui/surfaces/direct_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/lib/output_surface.cc
diff --git a/services/ui/public/cpp/lib/output_surface.cc b/services/ui/public/cpp/lib/output_surface.cc
index d8ce012ce296c2d193b0aa922c74acc0b2ff6061..2d58a0a9f833190f3e76857d02ba2de8f5f37a58 100644
--- a/services/ui/public/cpp/lib/output_surface.cc
+++ b/services/ui/public/cpp/lib/output_surface.cc
@@ -45,8 +45,6 @@ uint32_t OutputSurface::GetFramebufferCopyTextureFormat() {
}
void OutputSurface::SwapBuffers(cc::CompositorFrame frame) {
- // TODO(fsamuel, rjkroege): We should probably throttle compositor frames.
- client_->DidSwapBuffers();
// OutputSurface owns WindowSurface, and so if OutputSurface is
// destroyed then SubmitCompositorFrame's callback will never get called.
// Thus, base::Unretained is safe here.
« no previous file with comments | « content/renderer/gpu/compositor_output_surface.cc ('k') | services/ui/surfaces/direct_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698