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

Issue 1035833002: views: Remove View::PaintCommon, merge it into View::Paint. (Closed)

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

Description

views: Remove View::PaintCommon, merge it into View::Paint. This unifies the painting code path between Views that are and are not backed by layers, they all go through View::Paint now. View::Paint will only translate the canvas relative to the parent when layer() is false, keeping the origin at the origin of the view when it is backed by a layer(). R=sky BUG=466426 Committed: https://crrev.com/6f9ccd4f30c31527f2a8f38878842b414b61c5fe Cr-Commit-Position: refs/heads/master@{#322394}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -70 lines) Patch
M ui/views/view.h View 1 chunk +0 lines, -4 lines 0 comments Download
M ui/views/view.cc View 3 chunks +67 lines, -66 lines 4 comments Download

Messages

Total messages: 10 (1 generated)
danakj
https://codereview.chromium.org/1035833002/diff/1/ui/views/view.cc File ui/views/view.cc (right): https://codereview.chromium.org/1035833002/diff/1/ui/views/view.cc#newcode1487 ui/views/view.cc:1487: if (!layer()->fills_bounds_opaquely()) I'm feeling more confident about this, so ...
5 years, 9 months ago (2015-03-25 20:52:36 UTC) #1
sky
https://codereview.chromium.org/1035833002/diff/1/ui/views/view.cc File ui/views/view.cc (right): https://codereview.chromium.org/1035833002/diff/1/ui/views/view.cc#newcode821 ui/views/view.cc:821: // match the position we will be painting at ...
5 years, 9 months ago (2015-03-25 22:55:05 UTC) #2
danakj
https://codereview.chromium.org/1035833002/diff/1/ui/views/view.cc File ui/views/view.cc (right): https://codereview.chromium.org/1035833002/diff/1/ui/views/view.cc#newcode821 ui/views/view.cc:821: // match the position we will be painting at ...
5 years, 9 months ago (2015-03-25 22:57:11 UTC) #3
sky
If everything paints fine without your patch, then it's something in your patch and you ...
5 years, 9 months ago (2015-03-25 23:34:15 UTC) #4
danakj
On Wed, Mar 25, 2015 at 4:34 PM, Scott Violet <sky@chromium.org> wrote: > If everything ...
5 years, 9 months ago (2015-03-26 00:12:05 UTC) #5
sky
Ah, ok. LGTM
5 years, 9 months ago (2015-03-26 13:23:30 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1035833002/1
5 years, 9 months ago (2015-03-26 16:04:19 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 9 months ago (2015-03-26 16:08:33 UTC) #9
commit-bot: I haz the power
5 years, 9 months ago (2015-03-26 16:09:54 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/6f9ccd4f30c31527f2a8f38878842b414b61c5fe
Cr-Commit-Position: refs/heads/master@{#322394}

Powered by Google App Engine
This is Rietveld 408576698