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

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

Issue 22911019: [DOM4] Have ProcessingInstruction inherit CharacterData (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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
Index: Source/core/dom/CharacterData.h
diff --git a/Source/core/dom/CharacterData.h b/Source/core/dom/CharacterData.h
index 8077364246664dda75c0bf920c6269f8feac6cd0..c678a2e5820539f41a0569066d568edc6d1fc88e 100644
--- a/Source/core/dom/CharacterData.h
+++ b/Source/core/dom/CharacterData.h
@@ -66,6 +66,8 @@ protected:
}
void didModifyData(const String& oldValue);
+ String m_data;
+
private:
virtual String nodeValue() const OVERRIDE FINAL;
virtual void setNodeValue(const String&) OVERRIDE FINAL;
@@ -73,8 +75,6 @@ private:
virtual int maxCharacterOffset() const OVERRIDE FINAL;
virtual bool offsetInCharacters() const OVERRIDE FINAL;
void setDataAndUpdate(const String&, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLength);
-
- String m_data;
};
} // namespace WebCore
« no previous file with comments | « LayoutTests/fast/dom/processing-instruction-inherit-characterdata-expected.txt ('k') | Source/core/dom/CharacterData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698