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

Unified Diff: Source/core/editing/MarkupAccumulator.h

Issue 426293002: Use tighter typing in editing: MarkupAccumulator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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.cpp » ('j') | Source/core/editing/MarkupAccumulator.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/MarkupAccumulator.h
diff --git a/Source/core/editing/MarkupAccumulator.h b/Source/core/editing/MarkupAccumulator.h
index 5671923afea1fee9e2b74d3f2b44e4bf51a6e2ec..f192655e00666e2c923a75943d5e3de78fae7dfa 100644
--- a/Source/core/editing/MarkupAccumulator.h
+++ b/Source/core/editing/MarkupAccumulator.h
@@ -78,7 +78,7 @@ public:
protected:
void appendString(const String&);
void appendStartTag(Node&, Namespaces* = 0);
- virtual void appendEndTag(const Node&);
+ virtual void appendEndTag(const Element&);
static size_t totalLength(const Vector<String>&);
size_t length() const { return m_markup.length(); }
void concatenateMarkup(StringBuilder&);
@@ -99,9 +99,9 @@ protected:
void appendAttribute(StringBuilder&, const Element&, const Attribute&, Namespaces*);
void appendCDATASection(StringBuilder&, const String&);
void appendStartMarkup(StringBuilder&, Node&, Namespaces*);
- bool shouldSelfClose(const Node&);
+ bool shouldSelfClose(const Element&);
bool elementCannotHaveEndTag(const Node&);
- void appendEndMarkup(StringBuilder&, const Node&);
+ void appendEndMarkup(StringBuilder&, const Element&);
RawPtrWillBeMember<WillBeHeapVector<RawPtrWillBeMember<Node> > > const m_nodes;
RawPtrWillBeMember<const Range> const m_range;
« no previous file with comments | « no previous file | Source/core/editing/MarkupAccumulator.cpp » ('j') | Source/core/editing/MarkupAccumulator.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698