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

Unified Diff: content/browser/compositor/reflector_impl_unittest.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/reflector_impl_unittest.cc
diff --git a/content/browser/compositor/reflector_impl_unittest.cc b/content/browser/compositor/reflector_impl_unittest.cc
index a8de2d2c05991714874460e92e7fc22c02d2c6d3..2f0c299fcf1fd47c104dd071d2b50ce7507c1c81 100644
--- a/content/browser/compositor/reflector_impl_unittest.cc
+++ b/content/browser/compositor/reflector_impl_unittest.cc
@@ -82,8 +82,10 @@ class TestOutputSurface : public BrowserCompositorOutputSurface {
#if defined(OS_MACOSX)
void OnSurfaceDisplayed() override {}
- void OnSurfaceRecycled() override {}
- bool ShouldNotShowFramesAfterRecycle() const override { return false; }
+ void SetSurfaceSuspendedForRecycle(bool suspended) override {}
+ bool SurfaceShouldNotShowFramesAfterSuspendForRecycle() const override {
+ return false;
+ }
#endif
gfx::Size SurfaceSize() const override { return gfx::Size(256, 256); }

Powered by Google App Engine
This is Rietveld 408576698