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

Unified Diff: content/browser/compositor/test/no_transport_image_transport_factory.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/test/no_transport_image_transport_factory.h
diff --git a/content/browser/compositor/test/no_transport_image_transport_factory.h b/content/browser/compositor/test/no_transport_image_transport_factory.h
index d97fb012849fb374f0d4699b41a4734334244d67..e67a09dfadcfb9f2aecaf5976225dd8a26df1ff0 100644
--- a/content/browser/compositor/test/no_transport_image_transport_factory.h
+++ b/content/browser/compositor/test/no_transport_image_transport_factory.h
@@ -30,8 +30,10 @@ class NoTransportImageTransportFactory : public ImageTransportFactory {
void RemoveObserver(ImageTransportFactoryObserver* observer) override;
#if defined(OS_MACOSX)
void OnSurfaceDisplayed(int surface_id) override {}
- void OnCompositorRecycled(ui::Compositor* compositor) override {}
- bool SurfaceShouldNotShowFramesAfterRecycle(int surface_id) const override;
+ void SetCompositorSuspendedForRecycle(ui::Compositor* compositor,
+ bool suspended) override {}
+ bool SurfaceShouldNotShowFramesAfterSuspendForRecycle(
+ int surface_id) const override;
#endif
private:

Powered by Google App Engine
This is Rietveld 408576698