| Index: ui/gfx/compositor/layer.cc
|
| diff --git a/ui/gfx/compositor/layer.cc b/ui/gfx/compositor/layer.cc
|
| index 214b07e302018d8d1e316d1072e0af46ae625e2e..1235bf78168c9006c14d41aa5f2de26f7786ba17 100644
|
| --- a/ui/gfx/compositor/layer.cc
|
| +++ b/ui/gfx/compositor/layer.cc
|
| @@ -94,7 +94,7 @@ void Layer::Draw() {
|
| texture_draw_params.blend = parent_ != NULL && !fills_bounds_opaquely_;
|
|
|
| #if defined(OS_WIN)
|
| - texture_->Draw(texture_draw_params);
|
| + texture_->Draw(texture_draw_params, compositor_->size());
|
| #else
|
| hole_rect_ = hole_rect_.Intersect(
|
| gfx::Rect(0, 0, bounds_.width(), bounds_.height()));
|
| @@ -128,7 +128,7 @@ void Layer::Draw() {
|
| void Layer::DrawRegion(const ui::TextureDrawParams& params,
|
| const gfx::Rect& region_to_draw) {
|
| if (!region_to_draw.IsEmpty())
|
| - texture_->Draw(params, region_to_draw);
|
| + texture_->Draw(params, region_to_draw, compositor_->size());
|
| }
|
|
|
| void Layer::RecomputeHole() {
|
|
|