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

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: fixed auto-resize and fullscreen toggle 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..024cbd965b8e5a6c61f1b8078468ce8939e3019c 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) {
+ // Aura doesn't use GetBackingStore for accelerated pages, so it doesn't
+ // matter what is returned here as GetBackingStore is the only caller of this
+ // method. TODO(jbates) implement this if other Aura code needs it.
+ return false;
+}
+
void RenderWidgetHostViewAura::AcceleratedSurfaceNew(
int32 width,
int32 height,

Powered by Google App Engine
This is Rietveld 408576698