| Index: ash/wm/partial_screenshot_view.cc
|
| diff --git a/ash/wm/partial_screenshot_view.cc b/ash/wm/partial_screenshot_view.cc
|
| index ce5a68f9ad5739a8298ec930747d4cec1b21700c..3e492e2bfe5b6e97a45188e57ff1212d2a3bd0cd 100644
|
| --- a/ash/wm/partial_screenshot_view.cc
|
| +++ b/ash/wm/partial_screenshot_view.cc
|
| @@ -53,7 +53,7 @@ void PartialScreenshotView::StartPartialScreenshot(
|
|
|
| widget->Init(params);
|
| widget->SetContentsView(view);
|
| - widget->SetBounds(Shell::GetRootWindow()->bounds());
|
| + widget->SetBounds(Shell::GetPrimaryRootWindow()->bounds());
|
| widget->GetNativeView()->SetName("PartialScreenshotView");
|
| widget->StackAtTop();
|
| widget->Show();
|
| @@ -117,7 +117,7 @@ void PartialScreenshotView::OnMouseReleased(const views::MouseEvent& event) {
|
|
|
| is_dragging_ = false;
|
| if (screenshot_delegate_) {
|
| - aura::RootWindow *root_window = Shell::GetRootWindow();
|
| + aura::RootWindow *root_window = Shell::GetPrimaryRootWindow();
|
| screenshot_delegate_->HandleTakePartialScreenshot(
|
| root_window, root_window->bounds().Intersect(GetScreenshotRect()));
|
| }
|
|
|