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

Unified Diff: content/browser/compositor/browser_compositor_output_surface.cc

Issue 629293004: Call DidPostSwapBuffers and SwapBuffersComplete for browser software surface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests Created 6 years, 2 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/compositor/browser_compositor_output_surface.cc
diff --git a/content/browser/compositor/browser_compositor_output_surface.cc b/content/browser/compositor/browser_compositor_output_surface.cc
index b1e550162f026e98b0046e7698517ba47579e7e8..8607cfde94e65dd68b3e1d3a48b7afcda6a01c19 100644
--- a/content/browser/compositor/browser_compositor_output_surface.cc
+++ b/content/browser/compositor/browser_compositor_output_surface.cc
@@ -68,14 +68,6 @@ bool BrowserCompositorOutputSurface::BindToClient(
return true;
}
-void BrowserCompositorOutputSurface::OnSwapBuffersComplete() {
- // On Mac, delay acknowledging the swap to the output surface client until
- // it has been drawn.
-#if !defined(OS_MACOSX)
- cc::OutputSurface::OnSwapBuffersComplete();
-#endif
-}
-
void BrowserCompositorOutputSurface::OnUpdateVSyncParameters(
base::TimeTicks timebase,
base::TimeDelta interval) {
@@ -98,7 +90,7 @@ void BrowserCompositorOutputSurface::SetReflector(ReflectorImpl* reflector) {
#if defined(OS_MACOSX)
void BrowserCompositorOutputSurface::OnSurfaceDisplayed() {
- cc::OutputSurface::OnSwapBuffersComplete();
+ NOTREACHED();
danakj 2014/10/08 19:32:29 how about making it pure virtual and NOTREACHED in
no sievers 2014/10/08 19:59:00 Done.
}
#endif

Powered by Google App Engine
This is Rietveld 408576698