diff options
Diffstat (limited to 'ash/desktop_background/desktop_background_view.cc')
-rw-r--r-- | ash/desktop_background/desktop_background_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/desktop_background/desktop_background_view.cc b/ash/desktop_background/desktop_background_view.cc index 5db9135..41345a2 100644 --- a/ash/desktop_background/desktop_background_view.cc +++ b/ash/desktop_background/desktop_background_view.cc @@ -153,7 +153,7 @@ views::Widget* CreateDesktopBackground(aura::RootWindow* root_window, views::Widget::InitParams::TYPE_WINDOW_FRAMELESS); DesktopBackgroundView* view = new DesktopBackgroundView(); params.delegate = view; - if (controller->GetWallpaper().empty()) + if (controller->GetWallpaper().isNull()) params.transparent = true; params.parent = root_window->GetChildById(container_id); desktop_widget->Init(params); |