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

Issue 8568016: Ensure that NativeWidgetWin::OnPaint calls ValidateRect; workaround for crbug.com/93530. (Closed)

Created:
9 years, 1 month ago by msw
Modified:
9 years, 1 month ago
Reviewers:
MAD, sky
CC:
chromium-reviews, tfarina, dhollowa, Ben Goodger (Google), Sigurður Ásgeirsson
Visibility:
Public.

Description

Ensure that NativeWidgetWin::OnPaint calls ValidateRect. This is a workaround for crbug.com/93530; caused by crrev.com/84823. Windows creates a WM_PAINT storm without validation; even on empty regions. BUG=93530 TEST=Issue does not repro; no regressions. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110239

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M views/widget/native_widget_win.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
msw
Sky, MAD: PTAL, thanks!
9 years, 1 month ago (2011-11-15 19:36:38 UTC) #1
MAD
http://codereview.chromium.org/8568016/diff/1/views/widget/native_widget_win.cc File views/widget/native_widget_win.cc (right): http://codereview.chromium.org/8568016/diff/1/views/widget/native_widget_win.cc#newcode1778 views/widget/native_widget_win.cc:1778: // TODO(msw): Find a better solution for crbug.com/93530; nix ...
9 years, 1 month ago (2011-11-15 19:39:51 UTC) #2
msw
Comment addressed; please take another look. I see our e-mail thread discussing the BeginPaint/EndPaint workaround, ...
9 years, 1 month ago (2011-11-15 20:12:19 UTC) #3
sky
LGTM you should merge this as far back and you can.
9 years, 1 month ago (2011-11-15 20:29:29 UTC) #4
MAD
On 2011/11/15 20:29:29, sky wrote: > LGTM you should merge this as far back and ...
9 years, 1 month ago (2011-11-15 21:23:27 UTC) #5
msw
> Did you confirm that you could reliably repro without the fix? Yes, I have ...
9 years, 1 month ago (2011-11-15 21:54:57 UTC) #6
MAD
lgtm Excellent... Thanks for... hum... Validating... this... ;) LGTM!
9 years, 1 month ago (2011-11-15 22:17:56 UTC) #7
msw
Between the win trybot re-run and my local test passes, I think this is good ...
9 years, 1 month ago (2011-11-16 00:10:21 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/8568016/3002
9 years, 1 month ago (2011-11-16 00:13:30 UTC) #9
commit-bot: I haz the power
9 years, 1 month ago (2011-11-16 01:58:16 UTC) #10
Change committed as 110239

Powered by Google App Engine
This is Rietveld 408576698