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

Issue 1495053002: Rename PaintLayer::enclosingElement -> PaintLayer::enclosingNode (Closed)

Created:
5 years ago by Ian Vollick
Modified:
5 years ago
Reviewers:
chrishtr, esprehn
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, slimming-paint-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename PaintLayer::enclosingElement -> PaintLayer::enclosingNode This function returns a Node*, not an Element*. The callsites are a little confusing, currently. BUG=None Committed: https://crrev.com/b357b25045f5f8b8080fb26489287fe6af55a7b6 Cr-Commit-Position: refs/heads/master@{#363065}

Patch Set 1 #

Total comments: 1

Patch Set 2 : rather than renaming the function, make enclosingElement return an Element* #

Patch Set 3 : on second thought, go back to the original approach :) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M third_party/WebKit/Source/core/paint/PaintLayer.h View 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 2 6 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
Ian Vollick
5 years ago (2015-12-03 17:49:17 UTC) #3
chrishtr
https://codereview.chromium.org/1495053002/diff/1/third_party/WebKit/Source/core/paint/PaintLayer.cpp File third_party/WebKit/Source/core/paint/PaintLayer.cpp (right): https://codereview.chromium.org/1495053002/diff/1/third_party/WebKit/Source/core/paint/PaintLayer.cpp#newcode1549 third_party/WebKit/Source/core/paint/PaintLayer.cpp:1549: Node* PaintLayer::enclosingNode() const I think paint layers will always ...
5 years ago (2015-12-03 17:57:52 UTC) #5
Ian Vollick
On 2015/12/03 17:57:52, chrishtr wrote: > https://codereview.chromium.org/1495053002/diff/1/third_party/WebKit/Source/core/paint/PaintLayer.cpp > File third_party/WebKit/Source/core/paint/PaintLayer.cpp (right): > > https://codereview.chromium.org/1495053002/diff/1/third_party/WebKit/Source/core/paint/PaintLayer.cpp#newcode1549 > ...
5 years ago (2015-12-03 18:09:56 UTC) #6
chrishtr
On 2015/12/03 at 18:09:56, vollick wrote: > On 2015/12/03 17:57:52, chrishtr wrote: > > https://codereview.chromium.org/1495053002/diff/1/third_party/WebKit/Source/core/paint/PaintLayer.cpp ...
5 years ago (2015-12-03 18:17:31 UTC) #7
esprehn
On 2015/12/03 at 17:57:52, chrishtr wrote: > https://codereview.chromium.org/1495053002/diff/1/third_party/WebKit/Source/core/paint/PaintLayer.cpp > File third_party/WebKit/Source/core/paint/PaintLayer.cpp (right): > > https://codereview.chromium.org/1495053002/diff/1/third_party/WebKit/Source/core/paint/PaintLayer.cpp#newcode1549 ...
5 years ago (2015-12-03 18:58:30 UTC) #8
Ian Vollick
On 2015/12/03 18:58:30, esprehn wrote: > On 2015/12/03 at 17:57:52, chrishtr wrote: > > > ...
5 years ago (2015-12-03 19:01:04 UTC) #9
esprehn
On 2015/12/03 at 19:01:04, vollick wrote: > On 2015/12/03 18:58:30, esprehn wrote: > > On ...
5 years ago (2015-12-03 19:07:21 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1495053002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1495053002/40001
5 years ago (2015-12-03 20:16:53 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-03 21:37:40 UTC) #14
commit-bot: I haz the power
5 years ago (2015-12-03 21:39:17 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b357b25045f5f8b8080fb26489287fe6af55a7b6
Cr-Commit-Position: refs/heads/master@{#363065}

Powered by Google App Engine
This is Rietveld 408576698