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

Unified Diff: views/widget/native_widget_win.cc

Issue 8568016: Ensure that NativeWidgetWin::OnPaint calls ValidateRect; workaround for crbug.com/93530. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comment. 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/native_widget_win.cc
diff --git a/views/widget/native_widget_win.cc b/views/widget/native_widget_win.cc
index e31196e0b67a936a1eadbfc9748978aca0b9abaf..9f93bc4e3ece309c4df7733a573c28bc1b04ed64 100644
--- a/views/widget/native_widget_win.cc
+++ b/views/widget/native_widget_win.cc
@@ -1774,6 +1774,10 @@ void NativeWidgetWin::OnPaint(HDC dc) {
gfx::CanvasPaint::CreateCanvasPaint(hwnd()));
delegate_->OnNativeWidgetPaint(canvas->AsCanvas());
}
+ } else {
+ // TODO(msw): Find a better solution for this crbug.com/93530 workaround.
+ // Some scenarios otherwise fail to validate minimized app/popup windows.
+ ValidateRect(hwnd(), NULL);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698