| Index: ash/common/wm/workspace/phantom_window_controller.cc
|
| diff --git a/ash/common/wm/workspace/phantom_window_controller.cc b/ash/common/wm/workspace/phantom_window_controller.cc
|
| index bd56e4dea5fdf622209c462e3dec863364508fd5..2843d939f75112d32f82c72cb023a7f94f226971 100644
|
| --- a/ash/common/wm/workspace/phantom_window_controller.cc
|
| +++ b/ash/common/wm/workspace/phantom_window_controller.cc
|
| @@ -130,11 +130,9 @@ std::unique_ptr<views::Widget> PhantomWindowController::CreatePhantomWidget(
|
| }
|
|
|
| const int kImages[] = IMAGE_GRID(IDR_AURA_PHANTOM_WINDOW);
|
| - views::Painter* background_painter =
|
| - views::Painter::CreateImageGridPainter(kImages);
|
| views::View* content_view = new views::View;
|
| - content_view->set_background(
|
| - views::Background::CreateBackgroundPainter(true, background_painter));
|
| + content_view->set_background(views::Background::CreateBackgroundPainter(
|
| + views::Painter::CreateImageGridPainter(kImages)));
|
| phantom_widget->SetContentsView(content_view);
|
|
|
| // Show the widget after all the setups.
|
|
|