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

Issue 135443003: Remove MarkupAccumulator::appendNodeValue() method (Closed)

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

Description

Remove MarkupAccumulator::appendNodeValue() method Remove MarkupAccumulator::appendNodeValue() method and merge it into MarkupAccumulator::appendText() as this is the only caller. Now that we know the Node is actually a Text node, update the implementation to call CharacterData::data() instead of Node::nodeValue() which is virtual. Also update CharacterData::data() to return a const reference to avoid unnecessary ref churn on the String. R=esprehn, abarth Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165154

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -21 lines) Patch
M Source/core/dom/CharacterData.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/MarkupAccumulator.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/editing/MarkupAccumulator.cpp View 2 chunks +13 lines, -19 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Inactive
6 years, 11 months ago (2014-01-15 17:34:06 UTC) #1
abarth-chromium
lgtm
6 years, 11 months ago (2014-01-15 18:17:19 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/135443003/1
6 years, 11 months ago (2014-01-15 18:17:30 UTC) #3
commit-bot: I haz the power
6 years, 11 months ago (2014-01-15 18:25:37 UTC) #4
Message was sent while issue was closed.
Change committed as 165154

Powered by Google App Engine
This is Rietveld 408576698