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

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

Issue 2770603002: Add --draw-view-bounds-rects to draw bounds rects for all views. (Closed)
Patch Set: Review comments Created 3 years, 9 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 | « ui/views/views_switches.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 38ade374c65cfbb03616880c7d61507b3a5ba1a5..083f808e86719a2636d715bc4d5f7960f98067c5 100644
--- a/ui/views/widget/widget.cc
+++ b/ui/views/widget/widget.cc
@@ -1153,7 +1153,7 @@ void Widget::OnNativeWidgetPaint(const ui::PaintContext& context) {
// SetInitialBounds call.
if (!native_widget_initialized_)
return;
- GetRootView()->Paint(context);
+ GetRootView()->PaintFromPaintRoot(context);
}
int Widget::GetNonClientComponent(const gfx::Point& point) {
« no previous file with comments | « ui/views/views_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698