| Index: ash/wm/boot_splash_screen_chromeos.cc
|
| diff --git a/ash/wm/boot_splash_screen_chromeos.cc b/ash/wm/boot_splash_screen_chromeos.cc
|
| index 7582ae09dfa9395e7a459f8c8841cdfb8a9043c8..caf66568f8b15945657556cb2557efd0df4f8791 100644
|
| --- a/ash/wm/boot_splash_screen_chromeos.cc
|
| +++ b/ash/wm/boot_splash_screen_chromeos.cc
|
| @@ -42,9 +42,10 @@ class BootSplashScreen::CopyHostContentLayerDelegate
|
| // to create a zero-copy texture (when possible):
|
| // https://codereview.chromium.org/10543125
|
| #if defined(USE_X11)
|
| - ui::PaintRecorder recorder(context, host_->GetBounds().size());
|
| - ui::CopyAreaToCanvas(host_->GetAcceleratedWidget(), host_->GetBounds(),
|
| - gfx::Point(), recorder.canvas());
|
| + ui::PaintRecorder recorder(context, host_->GetBoundsInPixels().size());
|
| + ui::CopyAreaToCanvas(host_->GetAcceleratedWidget(),
|
| + host_->GetBoundsInPixels(), gfx::Point(),
|
| + recorder.canvas());
|
| #else
|
| // TODO(spang): Figure out what to do here.
|
| NOTIMPLEMENTED();
|
|
|