Index: content/browser/compositor/gpu_browser_compositor_output_surface.cc |
diff --git a/content/browser/compositor/gpu_browser_compositor_output_surface.cc b/content/browser/compositor/gpu_browser_compositor_output_surface.cc |
index 943a27ac962a60cbbdfc5af5c1e9e417d6e5314a..81da36dc9fdea5a224867ea4be8187271b661436 100644 |
--- a/content/browser/compositor/gpu_browser_compositor_output_surface.cc |
+++ b/content/browser/compositor/gpu_browser_compositor_output_surface.cc |
@@ -153,4 +153,12 @@ bool GpuBrowserCompositorOutputSurface:: |
} |
#endif |
+bool GpuBrowserCompositorOutputSurface::SurfaceIsSuspendForRecycle() const { |
+#if defined(OS_MACOSX) |
+ return should_show_frames_state_ == SHOULD_NOT_SHOW_FRAMES_SUSPENDED; |
+#else |
+ return false; |
+#endif |
+} |
+ |
} // namespace content |