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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 11099037: Plumb through surface size for --enable-partial-swaps on OSX (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | « no previous file | content/common/gpu/gpu_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_mac.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index 8eced50e5c77db4fea687dfe56c518c70fba385a..a7cc0c0b94688d454ffa0b44fb3de04b3767dedc 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -1228,8 +1228,8 @@ void RenderWidgetHostViewMac::AcceleratedSurfacePostSubBuffer(
// TODO(jbates) http://crbug.com/105344 This will be removed when there are no
// plugin windows.
if (params.window == gfx::kNullPluginWindow) {
- NOTIMPLEMENTED();
- AckPendingSwapBuffers();
+ if (CompositorSwapBuffers(params.surface_handle, params.surface_size))
+ AckPendingSwapBuffers();
} else {
// Deprecated accelerated plugin code path.
AcceleratedPluginView* view = ViewForPluginWindowHandle(params.window);
« no previous file with comments | « no previous file | content/common/gpu/gpu_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698