Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Unified Diff: ui/aura/root_window.cc

Issue 87383002: Fix autofill popup size (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/aura/root_window.cc
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index c2c1ab58fb75bfd0c573e7924ea0ddaf955b3ecf..cc890b4d48aa344191e7e97458877f7475cde951 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -829,7 +829,7 @@ void RootWindow::OnHostResized(const gfx::Size& size) {
// The layer, and the observers should be notified of the
// transformed size of the root window.
- UpdateRootWindowSize(size);
+ UpdateRootWindowSize(host_->GetBounds().size());
FOR_EACH_OBSERVER(RootWindowObserver, observers_,
OnRootWindowHostResized(this));
}
« no previous file with comments | « ui/aura/remote_root_window_host_win.cc ('k') | ui/views/widget/desktop_aura/desktop_root_window_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698