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

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

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.h
diff --git a/content/browser/compositor/software_browser_compositor_output_surface.h b/content/browser/compositor/software_browser_compositor_output_surface.h
index 245e682268e1fb9d25a55c0aece3cc5f5f330204..68776ca7aa653a3c7a4c302bf79d19b752008a06 100644
--- a/content/browser/compositor/software_browser_compositor_output_surface.h
+++ b/content/browser/compositor/software_browser_compositor_output_surface.h
@@ -33,8 +33,8 @@ class CONTENT_EXPORT SoftwareBrowserCompositorOutputSurface
#if defined(OS_MACOSX)
void OnSurfaceDisplayed() override;
- void OnSurfaceRecycled() override;
- bool ShouldNotShowFramesAfterRecycle() const override;
+ void SetSurfaceSuspendedForRecycle(bool suspended) override;
+ bool SurfaceShouldNotShowFramesAfterSuspendForRecycle() const override;
#endif
base::WeakPtrFactory<SoftwareBrowserCompositorOutputSurface> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698