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

Issue 1016033011: omnibox: Don't paint children from inside OnPaint(). (Closed)

Created:
5 years, 9 months ago by danakj
Modified:
5 years, 9 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina, James Su, enne (OOO), piman, sky
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

omnibox: Don't paint children from inside OnPaint(). OnPaint() is not part of the recursion, it won't have access to the neccessary pieces to do recursion. If you need to do painting while inside the recursion, this should happen in PaintChildren(). So move the contents of OnPaint() to PaintChildren(). R=pkasting BUG=466426 Committed: https://crrev.com/46b6dbf670b260257fc26ac118deab8178bea6a0 Cr-Commit-Position: refs/heads/master@{#322520}

Patch Set 1 #

Total comments: 1

Patch Set 2 : omnibox: . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -41 lines) Patch
M chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h View 1 3 chunks +0 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc View 1 4 chunks +12 lines, -31 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
danakj
5 years, 9 months ago (2015-03-26 00:55:46 UTC) #2
Peter Kasting
I don't really understand the CL description -- "the recursion" refers to something I'm not ...
5 years, 9 months ago (2015-03-26 03:02:56 UTC) #3
danakj
On Wed, Mar 25, 2015 at 8:02 PM, <pkasting@chromium.org> wrote: > I don't really understand ...
5 years, 9 months ago (2015-03-26 16:14:02 UTC) #4
Peter Kasting
On Thu, Mar 26, 2015 at 9:13 AM, Dana Jansens <danakj@chromium.org> wrote: > On Wed, ...
5 years, 9 months ago (2015-03-26 19:10:37 UTC) #5
danakj
Thanks Peter. PTAL I removed a virtual (not overridden) function, changed the Rect->Path->Clip to just ...
5 years, 9 months ago (2015-03-26 22:07:52 UTC) #6
Peter Kasting
LGTM
5 years, 9 months ago (2015-03-27 00:20:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1016033011/20001
5 years, 9 months ago (2015-03-27 00:57:25 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-27 02:12:27 UTC) #10
commit-bot: I haz the power
5 years, 9 months ago (2015-03-27 02:13:35 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/46b6dbf670b260257fc26ac118deab8178bea6a0
Cr-Commit-Position: refs/heads/master@{#322520}

Powered by Google App Engine
This is Rietveld 408576698