Index: content/common/gpu/texture_image_transport_surface.h |
diff --git a/content/common/gpu/texture_image_transport_surface.h b/content/common/gpu/texture_image_transport_surface.h |
index 9ab9abca3e53bfe8c4bd80307c3456b41b6f8785..95106252cc50883e316dfe8691c24368e79964da 100644 |
--- a/content/common/gpu/texture_image_transport_surface.h |
+++ b/content/common/gpu/texture_image_transport_surface.h |
@@ -54,7 +54,7 @@ class TextureImageTransportSurface |
virtual void OnBufferPresented( |
const AcceleratedSurfaceMsg_BufferPresented_Params& params) OVERRIDE; |
virtual void OnResizeViewACK() OVERRIDE; |
- virtual void OnResize(gfx::Size size) OVERRIDE; |
+ virtual void OnResize(gfx::Size size, float scale_factor) OVERRIDE; |
virtual void SetLatencyInfo( |
const cc::LatencyInfo& latency_info) OVERRIDE; |
@@ -93,6 +93,7 @@ class TextureImageTransportSurface |
// The current size of the GLSurface. Used to disambiguate from the current |
// texture size which might be outdated (since we use two buffers). |
gfx::Size current_size_; |
+ float scale_factor_; |
// Whether or not the command buffer stub has been destroyed. |
bool stub_destroyed_; |