diff options
Diffstat (limited to 'ash/wm/partial_screenshot_view.cc')
-rw-r--r-- | ash/wm/partial_screenshot_view.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ash/wm/partial_screenshot_view.cc b/ash/wm/partial_screenshot_view.cc index 66a4259..b71c7c8 100644 --- a/ash/wm/partial_screenshot_view.cc +++ b/ash/wm/partial_screenshot_view.cc @@ -84,8 +84,8 @@ PartialScreenshotView::StartPartialScreenshot( ScreenshotDelegate* screenshot_delegate) { std::vector<PartialScreenshotView*> views; OverlayDelegate* overlay_delegate = new OverlayDelegate(); - Shell::RootWindowList root_windows = Shell::GetAllRootWindows(); - for (Shell::RootWindowList::iterator it = root_windows.begin(); + aura::Window::Windows root_windows = Shell::GetAllRootWindows(); + for (aura::Window::Windows::iterator it = root_windows.begin(); it != root_windows.end(); ++it) { PartialScreenshotView* new_view = new PartialScreenshotView( overlay_delegate, screenshot_delegate); @@ -108,7 +108,7 @@ PartialScreenshotView::~PartialScreenshotView() { screenshot_delegate_ = NULL; } -void PartialScreenshotView::Init(aura::RootWindow* root_window) { +void PartialScreenshotView::Init(aura::Window* root_window) { views::Widget* widget = new views::Widget; views::Widget::InitParams params( views::Widget::InitParams::TYPE_WINDOW_FRAMELESS); |