Index: ui/compositor/layer.cc |
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc |
index 5f8800dc79f5d32accaea34f6c09c3a42230d608..bcb09d805468e1985daa8ca64e60b3b0383fb7e7 100644 |
--- a/ui/compositor/layer.cc |
+++ b/ui/compositor/layer.cc |
@@ -574,12 +574,13 @@ void Layer::SetShowSurface( |
const cc::SurfaceLayer::SatisfyCallback& satisfy_callback, |
const cc::SurfaceLayer::RequireCallback& require_callback, |
gfx::Size surface_size, |
+ float scale, |
gfx::Size frame_size_in_dip) { |
DCHECK(type_ == LAYER_TEXTURED || type_ == LAYER_SOLID_COLOR); |
scoped_refptr<cc::SurfaceLayer> new_layer = |
cc::SurfaceLayer::Create(satisfy_callback, require_callback); |
- new_layer->SetSurfaceId(surface_id, surface_size); |
+ new_layer->SetSurfaceId(surface_id, scale, surface_size); |
SwitchToLayer(new_layer); |
surface_layer_ = new_layer; |