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

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

Issue 15689003: Part 3/3 (RWH/IOSurface) of adding with device scale factor to transport surfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missed lines Created 7 years, 7 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_mac.h
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.h b/content/browser/renderer_host/render_widget_host_view_mac.h
index 4a9ce801143ee9c4d5cea6ca8640ad69e7142a7b..3b98f255b8f32c333d3a18090d584378e570218d 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.h
+++ b/content/browser/renderer_host/render_widget_host_view_mac.h
@@ -325,7 +325,8 @@ class RenderWidgetHostViewMac : public RenderWidgetHostViewBase,
// Call setNeedsDisplay on the cocoa_view_. The IOSurface will be drawn during
// the next drawRect. Return true if the Ack should be sent, false if it
// should be deferred until drawRect.
- bool CompositorSwapBuffers(uint64 surface_handle, const gfx::Size& size);
+ bool CompositorSwapBuffers(
+ uint64 surface_handle, const gfx::Size& size, float scale_factor);
// Ack pending SwapBuffers requests, if any, to unblock the GPU process. Has
// no effect if there are no pending requests.
void AckPendingSwapBuffers();

Powered by Google App Engine
This is Rietveld 408576698