diff options
author | scottmg <scottmg@chromium.org> | 2016-01-26 17:30:36 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-27 01:31:58 +0000 |
commit | fb33c340bd50b0e8a5c874e5d7c10a6361cee126 (patch) | |
tree | bb7a28d9d333accda14d8cbce5d9c6e7b4f51698 /ash/wm/overview | |
parent | bfe14dd182c7c660eb27265dfeec462768af2422 (diff) | |
download | chromium_src-fb33c340bd50b0e8a5c874e5d7c10a6361cee126.zip chromium_src-fb33c340bd50b0e8a5c874e5d7c10a6361cee126.tar.gz chromium_src-fb33c340bd50b0e8a5c874e5d7c10a6361cee126.tar.bz2 |
Remove ui/gfx/screen_type_delegate.h
This removes gfx::SCREEN_TYPE_NATIVE/SCREEN_TYPE_ALTERNATE, and there is
now only one Screen instance. It's still a runtime-installed thing for
test purposes.
TBR=various owners for trivial changes
R=oshima@chromium.org, sky@chromium.org
BUG=558054
Review URL: https://codereview.chromium.org/1608733002
Cr-Commit-Position: refs/heads/master@{#371676}
Diffstat (limited to 'ash/wm/overview')
-rw-r--r-- | ash/wm/overview/window_grid.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/wm/overview/window_grid.cc b/ash/wm/overview/window_grid.cc index ec3b362..33fc3fe 100644 --- a/ash/wm/overview/window_grid.cc +++ b/ash/wm/overview/window_grid.cc @@ -447,8 +447,8 @@ void WindowGrid::InitSelectionWidget(WindowSelector::Direction direction) { const gfx::Rect target_bounds = SelectedWindow()->target_bounds(); gfx::Vector2d fade_out_direction = GetSlideVectorForFadeIn(direction, target_bounds); - gfx::Display dst_display = gfx::Screen::GetScreenFor(root_window_)-> - GetDisplayMatching(target_bounds); + gfx::Display dst_display = + gfx::Screen::GetScreen()->GetDisplayMatching(target_bounds); selection_widget_->GetNativeWindow()->SetBoundsInScreen( target_bounds - fade_out_direction, dst_display); } |