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

Unified Diff: ui/views/window/client_view.cc

Issue 306023011: Add new DialogDelegate for dialogs in the App List (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed Layout call in ClientView and removed AppListClientView to use this instead Created 6 years, 6 months 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/views/window/client_view.cc
diff --git a/ui/views/window/client_view.cc b/ui/views/window/client_view.cc
index fb7d89fed1823b670feb600d00685f1e83f4526a..9841e4e4fa1143908cec530c8308405def3a1f3e 100644
--- a/ui/views/window/client_view.cc
+++ b/ui/views/window/client_view.cc
@@ -66,8 +66,10 @@ gfx::Size ClientView::GetMinimumSize() const {
void ClientView::Layout() {
// |contents_view_| is allowed to be NULL up until the point where this view
// is attached to a Container.
- if (contents_view_)
+ if (contents_view_) {
contents_view_->SetBounds(0, 0, width(), height());
+ contents_view_->Layout();
+ }
}
const char* ClientView::GetClassName() const {

Powered by Google App Engine
This is Rietveld 408576698