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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 9980016: Delete background tab IOSurfaces on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: changed 40ms timeout to 50ms for GetBackingStore Created 8 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/renderer_host/render_widget_host_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index 8dd248c5533ef786b63425066235d3b8e6ecbbf9..49864b97bf96e34d8f558368e5549e5c64c90545 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -641,6 +641,14 @@ void RenderWidgetHostViewAura::AcceleratedSurfacePostSubBuffer(
void RenderWidgetHostViewAura::AcceleratedSurfaceSuspend() {
}
+bool RenderWidgetHostViewAura::HasAcceleratedSurface(
+ const gfx::Size& desired_size) {
+ // TODO(jbates) Implement this so this view can use GetBackingStore for both
+ // software and GPU frames. Defaulting to false just makes GetBackingStore
+ // only useable for software frames.
piman 2012/04/19 23:58:18 FYI... at least on Aura we don't want to block wai
jbates 2012/04/20 01:14:04 Done.
+ return false;
+}
+
void RenderWidgetHostViewAura::AcceleratedSurfaceNew(
int32 width,
int32 height,

Powered by Google App Engine
This is Rietveld 408576698