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

Unified Diff: Source/core/dom/CharacterData.h

Issue 135443003: Remove MarkupAccumulator::appendNodeValue() method (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@using_namespace_header
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/editing/MarkupAccumulator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/CharacterData.h
diff --git a/Source/core/dom/CharacterData.h b/Source/core/dom/CharacterData.h
index 11636228cc78d7895374e9ba6436952e3989ed02..a89eccdf8331e929ddfe8d61591bed076468fff6 100644
--- a/Source/core/dom/CharacterData.h
+++ b/Source/core/dom/CharacterData.h
@@ -33,7 +33,7 @@ class ExceptionState;
class CharacterData : public Node {
public:
void atomize();
- String data() const { return m_data; }
+ const String& data() const { return m_data; }
void setData(const String&);
unsigned length() const { return m_data.length(); }
String substringData(unsigned offset, unsigned count, ExceptionState&);
« no previous file with comments | « no previous file | Source/core/editing/MarkupAccumulator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698