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

Unified Diff: views/window/non_client_view.cc

Issue 8386064: Fixes painting regression. The problem was I optimized to only send to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « views/widget/widget.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/window/non_client_view.cc
diff --git a/views/window/non_client_view.cc b/views/window/non_client_view.cc
index b6fc9233d25dbb11e71feeb6033ebbb87f769b5c..92c7bc7a8834650b231be6df40607981b1802dca 100644
--- a/views/window/non_client_view.cc
+++ b/views/window/non_client_view.cc
@@ -187,9 +187,8 @@ views::View* NonClientView::GetEventHandlerForPoint(const gfx::Point& point) {
// NonClientFrameView, public:
void NonClientFrameView::SetInactiveRenderingDisabled(bool disable) {
- if (paint_as_active_ == disable)
- return;
-
+ // See comment in Widget::SetInactiveRenderingDisabled as to why we don't
+ // conditionally invoke ShouldPaintAsActiveChanged.
paint_as_active_ = disable;
ShouldPaintAsActiveChanged();
}
« no previous file with comments | « views/widget/widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698