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&); |