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

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: 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..c5ec8e960b3f63813f86d8b65d7775a56129f243 100644
--- a/views/widget/native_widget_win.cc
+++ b/views/widget/native_widget_win.cc
@@ -1775,6 +1775,9 @@ void NativeWidgetWin::OnPaint(HDC dc) {
delegate_->OnNativeWidgetPaint(canvas->AsCanvas());
}
}
+ // TODO(msw): Find a better solution for crbug.com/93530; nix this workaround.
MAD 2011/11/15 19:39:52 Shouldn't we only do this in an else statement?
msw 2011/11/15 20:12:19 Done.
+ // Some scenarios otherwise fail to validate minimized app/popup windows.
+ ValidateRect(hwnd(), NULL);
}
LRESULT NativeWidgetWin::OnPowerBroadcast(DWORD power_event, DWORD data) {
« 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