summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/ash/screenshot_taker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/ash/screenshot_taker.cc')
-rw-r--r--chrome/browser/ui/ash/screenshot_taker.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/ash/screenshot_taker.cc b/chrome/browser/ui/ash/screenshot_taker.cc
index 880d0f8..169e85b 100644
--- a/chrome/browser/ui/ash/screenshot_taker.cc
+++ b/chrome/browser/ui/ash/screenshot_taker.cc
@@ -341,7 +341,7 @@ void ScreenshotTaker::HandleTakeScreenshotForAllRootWindows() {
std::string screenshot_basename = !screenshot_basename_for_test_.empty() ?
screenshot_basename_for_test_ : GetScreenshotBaseFilename();
- aura::Window::Windows root_windows = ash::Shell::GetAllRootWindows();
+ ash::Shell::RootWindowList root_windows = ash::Shell::GetAllRootWindows();
// Reorder root_windows to take the primary root window's snapshot at first.
aura::Window* primary_root = ash::Shell::GetPrimaryRootWindow();
if (*(root_windows.begin()) != primary_root) {
@@ -350,7 +350,7 @@ void ScreenshotTaker::HandleTakeScreenshotForAllRootWindows() {
root_windows.insert(root_windows.begin(), primary_root->GetDispatcher());
}
for (size_t i = 0; i < root_windows.size(); ++i) {
- aura::Window* root_window = root_windows[i];
+ aura::RootWindow* root_window = root_windows[i];
scoped_refptr<base::RefCountedBytes> png_data(new base::RefCountedBytes);
std::string basename = screenshot_basename;
gfx::Rect rect = root_window->bounds();