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

Unified Diff: cc/output/output_surface.cc

Issue 1227233002: Mac: Don't draw a cc::Surface while suspended (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix other platform compile Created 5 years, 5 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
« no previous file with comments | « cc/output/output_surface.h ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/output_surface.cc
diff --git a/cc/output/output_surface.cc b/cc/output/output_surface.cc
index b6e1d99a4defaa8595b6f8fe892ab081a13dc3d0..a597a87d8456bc65f3ce763d469db9e7e776ed7f 100644
--- a/cc/output/output_surface.cc
+++ b/cc/output/output_surface.cc
@@ -237,4 +237,8 @@ void OutputSurface::SetWorkerContextShouldAggressivelyFreeResources(
}
}
+bool OutputSurface::SurfaceIsSuspendForRecycle() const {
+ return false;
+}
+
} // namespace cc
« no previous file with comments | « cc/output/output_surface.h ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698