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

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

Issue 9980016: Delete background tab IOSurfaces on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments and piman feedback 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_win.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_win.cc b/content/browser/renderer_host/render_widget_host_view_win.cc
index fd3954c66732620fca193a96320c25083984e760..daf8ac4ce38badcc618a04f55b4ff3221d41ec3a 100644
--- a/content/browser/renderer_host/render_widget_host_view_win.cc
+++ b/content/browser/renderer_host/render_widget_host_view_win.cc
@@ -2250,6 +2250,14 @@ void RenderWidgetHostViewWin::AcceleratedSurfaceSuspend() {
accelerated_surface_->Suspend();
}
+bool RenderWidgetHostViewWin::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.
+ return false;
+}
+
void RenderWidgetHostViewWin::SetAccessibilityFocus(int acc_obj_id) {
if (!render_widget_host_)
return;

Powered by Google App Engine
This is Rietveld 408576698