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

Unified Diff: Source/core/xml/parser/XMLDocumentParser.h

Issue 1267283002: Gracefully handle XMLDocumentParser being detached by mutation events. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add clarifying comment Created 5 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/xml/parser/XMLDocumentParser.h
diff --git a/Source/core/xml/parser/XMLDocumentParser.h b/Source/core/xml/parser/XMLDocumentParser.h
index 634eb07b9e2ebb432e8b70d86b2dfb8c6c81e85d..4a1300d5ed23e2d3d188235218571ee10c86eed1 100644
--- a/Source/core/xml/parser/XMLDocumentParser.h
+++ b/Source/core/xml/parser/XMLDocumentParser.h
@@ -149,8 +149,8 @@ private:
void insertErrorMessageBlock();
- void enterText();
- void exitText();
+ void createLeafTextNodeIfNeeded();
+ bool updateLeafTextNode();
void doWrite(const String&);
void doEnd();

Powered by Google App Engine
This is Rietveld 408576698