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

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

Issue 14846015: Update IOSurface scale factor before compare (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comment 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/compositing_iosurface_mac.h
diff --git a/content/browser/renderer_host/compositing_iosurface_mac.h b/content/browser/renderer_host/compositing_iosurface_mac.h
index b6f734be629d55dc4f42fedd63cf008bd16a52fd..1ca402d66a41cfabed45bf484e3b1c72d5a61d18 100644
--- a/content/browser/renderer_host/compositing_iosurface_mac.h
+++ b/content/browser/renderer_host/compositing_iosurface_mac.h
@@ -114,6 +114,8 @@ class CompositingIOSurfaceMac {
// In cocoa view units / DIPs.
const gfx::Size& io_surface_size() const { return io_surface_size_; }
+ void SetDeviceScaleFactor(float scale_factor);
+
bool is_vsync_disabled() const;
// Get vsync scheduling parameters.
@@ -333,8 +335,6 @@ class CompositingIOSurfaceMac {
// Timer for finishing a copy operation.
base::Timer finish_copy_timer_;
- SurfaceQuad quad_;
-
// CVDisplayLink for querying Vsync timing info and throttling swaps.
CVDisplayLinkRef display_link_;

Powered by Google App Engine
This is Rietveld 408576698