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

Unified Diff: ui/views/widget/widget.cc

Issue 2354343002: CrOS Window cycle ui - set widget bounds with initparams to avoid extra resizing. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « ash/common/wm/window_cycle_list.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.cc
diff --git a/ui/views/widget/widget.cc b/ui/views/widget/widget.cc
index ca92c5bd33937456f9f0fb89b183c792f92e93e8..4b3db3f38de3d8f08c9a887d23231c318d6bae06 100644
--- a/ui/views/widget/widget.cc
+++ b/ui/views/widget/widget.cc
@@ -1456,7 +1456,7 @@ void Widget::SetInitialBoundsForFramelessWindow(const gfx::Rect& bounds) {
native_widget_->CenterWindow(size);
} else {
// Use the supplied initial bounds.
- SetBoundsConstrained(bounds);
+ SetBounds(bounds);
}
}
« no previous file with comments | « ash/common/wm/window_cycle_list.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698