Chromium Code Reviews| 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) { |