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

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

Issue 1097223002: Mac: Fix black flashing during tab switch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wait for swap to draw frames Created 5 years, 8 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/software_browser_compositor_output_surface.cc
diff --git a/content/browser/compositor/software_browser_compositor_output_surface.cc b/content/browser/compositor/software_browser_compositor_output_surface.cc
index 2d422c9719eed877ddf6ba57d8755eefc139c69f..c2b70d40c94bd10f2591d642b4329f8e9d84e8cd 100644
--- a/content/browser/compositor/software_browser_compositor_output_surface.cc
+++ b/content/browser/compositor/software_browser_compositor_output_surface.cc
@@ -60,11 +60,12 @@ void SoftwareBrowserCompositorOutputSurface::OnSurfaceDisplayed() {
NOTREACHED() << "Not expected for software surfaces.";
}
-void SoftwareBrowserCompositorOutputSurface::OnSurfaceRecycled() {
+void SoftwareBrowserCompositorOutputSurface::SetSurfaceSuspendedForRecycle(
+ bool suspended) {
}
-bool SoftwareBrowserCompositorOutputSurface::ShouldNotShowFramesAfterRecycle()
- const {
+bool SoftwareBrowserCompositorOutputSurface::
+ SurfaceShouldNotShowFramesAfterSuspendForRecycle() const {
return false;
}
#endif

Powered by Google App Engine
This is Rietveld 408576698