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

Issue 147593008: Remove Element.nodeNamePreservingCase (Closed)

Created:
6 years, 10 months ago by rwlbuis
Modified:
6 years, 10 months ago
Reviewers:
Inactive, eseidel
CC:
blink-reviews, dglazkov+blink, sof, eae+blinkwatch, adamk+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Remove Element.nodeNamePreservingCase There is no need for this method, we can just use tagQName. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166250

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove macro #

Total comments: 1

Patch Set 3 : Use tagQName #

Patch Set 4 : Rebase against ToT #

Total comments: 1

Patch Set 5 : Add static helper #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -8 lines) Patch
M Source/core/dom/Element.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/dom/Element.cpp View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/editing/MarkupAccumulator.cpp View 1 2 3 4 2 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
rwlbuis
This way avoids some code duplication.
6 years, 10 months ago (2014-01-29 18:57:56 UTC) #1
Inactive
https://codereview.chromium.org/147593008/diff/1/Source/core/editing/MarkupAccumulator.cpp File Source/core/editing/MarkupAccumulator.cpp (right): https://codereview.chromium.org/147593008/diff/1/Source/core/editing/MarkupAccumulator.cpp#newcode45 Source/core/editing/MarkupAccumulator.cpp:45: #define nodeNamePreservingCase(a) Element::nodeName(a) I don't like macros. Why not ...
6 years, 10 months ago (2014-01-29 19:02:22 UTC) #2
rwlbuis
On 2014/01/29 19:02:22, Chris Dumez wrote: > https://codereview.chromium.org/147593008/diff/1/Source/core/editing/MarkupAccumulator.cpp > File Source/core/editing/MarkupAccumulator.cpp (right): > > https://codereview.chromium.org/147593008/diff/1/Source/core/editing/MarkupAccumulator.cpp#newcode45 ...
6 years, 10 months ago (2014-01-29 19:28:54 UTC) #3
Inactive
On 2014/01/29 19:28:54, rwlbuis wrote: > On 2014/01/29 19:02:22, Chris Dumez wrote: > > > ...
6 years, 10 months ago (2014-01-30 01:24:08 UTC) #4
Inactive
Don't forget to update your CL description. It still mentions adding a macro. https://codereview.chromium.org/147593008/diff/20001/Source/core/editing/MarkupAccumulator.cpp File ...
6 years, 10 months ago (2014-01-30 01:29:33 UTC) #5
rwlbuis
On 2014/01/30 01:24:08, Chris Dumez wrote: > On 2014/01/29 19:28:54, rwlbuis wrote: > > On ...
6 years, 10 months ago (2014-01-30 01:36:23 UTC) #6
rwlbuis
On 2014/01/30 01:29:33, Chris Dumez wrote: > Don't forget to update your CL description. It ...
6 years, 10 months ago (2014-01-30 01:39:25 UTC) #7
rwlbuis
The new patch now uses tagQName.
6 years, 10 months ago (2014-01-30 20:14:49 UTC) #8
Inactive
On 2014/01/30 20:14:49, rwlbuis wrote: > The new patch now uses tagQName. lgtm
6 years, 10 months ago (2014-01-30 20:20:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/147593008/60001
6 years, 10 months ago (2014-01-30 20:23:23 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=10039
6 years, 10 months ago (2014-01-30 23:23:48 UTC) #11
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-30 23:23:48 UTC) #12
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-30 23:23:55 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/147593008/60001
6 years, 10 months ago (2014-01-30 23:26:19 UTC) #14
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=10081
6 years, 10 months ago (2014-01-31 02:08:29 UTC) #15
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 02:08:30 UTC) #16
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 02:09:07 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/147593008/60001
6 years, 10 months ago (2014-01-31 02:12:07 UTC) #18
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=10132
6 years, 10 months ago (2014-01-31 05:25:13 UTC) #19
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 05:25:17 UTC) #20
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 05:25:22 UTC) #21
eseidel
https://codereview.chromium.org/147593008/diff/60001/Source/core/editing/MarkupAccumulator.cpp File Source/core/editing/MarkupAccumulator.cpp (left): https://codereview.chromium.org/147593008/diff/60001/Source/core/editing/MarkupAccumulator.cpp#oldcode396 Source/core/editing/MarkupAccumulator.cpp:396: result.append(element.nodeNamePreservingCase()); I see, we can't use nodeName() because it ...
6 years, 10 months ago (2014-01-31 05:41:00 UTC) #22
eseidel
Or we could just add a static String nodeNamePreservingCase(Element*) to MarkupAccumulator?
6 years, 10 months ago (2014-01-31 05:41:50 UTC) #23
Inactive
I was confused by the fact that Element::nodeName() and Element::nodeNamePreservingCase() have the same implementation. It ...
6 years, 10 months ago (2014-01-31 14:02:48 UTC) #24
rwlbuis
On 2014/01/31 05:41:50, eseidel wrote: > Or we could just add a static String nodeNamePreservingCase(Element*) ...
6 years, 10 months ago (2014-01-31 16:00:26 UTC) #25
rwlbuis
New patch set is ready and turning up first green results.
6 years, 10 months ago (2014-01-31 19:19:53 UTC) #26
eseidel
lgtm :shrug:. This CL doesn't really seem to do much.
6 years, 10 months ago (2014-01-31 22:36:15 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/147593008/100001
6 years, 10 months ago (2014-01-31 22:36:22 UTC) #28
commit-bot: I haz the power
Change committed as 166250
6 years, 10 months ago (2014-01-31 23:39:22 UTC) #29
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 23:39:22 UTC) #30
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 23:39:31 UTC) #31
commit-bot: I haz the power
6 years, 10 months ago (2014-01-31 23:39:31 UTC) #32
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698