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 f224dc0ed115c4af2feb3c7c9f4f4a350ee7578b..adff8be7879943cd916a57b8c3980cf667abda40 100644 |
--- a/content/browser/renderer_host/compositing_iosurface_mac.h |
+++ b/content/browser/renderer_host/compositing_iosurface_mac.h |
@@ -54,6 +54,7 @@ class CompositingIOSurfaceMac { |
const gfx::Size& pixel_io_surface_size() const { |
return pixel_io_surface_size_; |
} |
+ const gfx::Size& io_surface_size() const { return io_surface_size_; } |
jbates
2012/06/12 17:11:13
I think this should be renamed so that it's clear
|
bool is_vsync_disabled() const { return is_vsync_disabled_; } |
@@ -128,7 +129,8 @@ class CompositingIOSurfaceMac { |
base::mac::ScopedCFTypeRef<CFTypeRef> io_surface_; |
// The width and height of the io surface. |
- gfx::Size pixel_io_surface_size_; |
+ gfx::Size pixel_io_surface_size_; // In pixels. |
+ gfx::Size io_surface_size_; // In view units. |
// The "live" OpenGL texture referring to this IOSurfaceRef. Note |
// that per the CGLTexImageIOSurface2D API we do not need to |