summaryrefslogtreecommitdiffstats
path: root/ui/aura
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-28 14:37:34 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-28 14:37:34 +0000
commit7005d9fb0e445bab402cb2202bedb56cd53057d6 (patch)
tree7568b1863e8a6a3b2fa6ff3cbd06840b886a22b3 /ui/aura
parenta92ccf7474fa34018656e20d53aa922e1bad4f02 (diff)
downloadchromium_src-7005d9fb0e445bab402cb2202bedb56cd53057d6.zip
chromium_src-7005d9fb0e445bab402cb2202bedb56cd53057d6.tar.gz
chromium_src-7005d9fb0e445bab402cb2202bedb56cd53057d6.tar.bz2
Revert "Refactor DisplayInfo/Display - 2nd try"
> This is a first step to fix overscan issue and implement > screen rotation. > > * remove bounds_in_pixel from gfx::Display > * promote DisplayInfo to separate class/file > * All display information is now generated in display_change_observer_x11.cc. > almost no X11 depenency in display_manager.cc > (I'll move FindInternalDisplayID out from display_manager.cc once https://codereview.chromium.org/12217120/ is landed) > > This makes testing more consistent with real environment. > >* Add DisplayManager::ClearCustomOverscanInsets so that > you can reset the insets to default value. >* Removed obsolete AshTestBase::ChangeDisplayConfig > >BUG=174721,119268 >TEST=covered by test > BUG=174721,119268 Review URL: https://codereview.chromium.org/12374017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185243 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura')
-rw-r--r--ui/aura/root_window.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index 7ff474f..7305ca7 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -196,7 +196,6 @@ gfx::Size RootWindow::GetHostSize() const {
}
void RootWindow::SetHostBounds(const gfx::Rect& bounds_in_pixel) {
- DCHECK(!bounds_in_pixel.IsEmpty());
DispatchHeldMouseMove();
host_->SetBounds(bounds_in_pixel);
synthesize_mouse_move_ = false;