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

Unified Diff: Source/core/page/DOMSelection.h

Issue 15390003: Use-after-free in WebCore::Range::compareBoundaryPoints (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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/page/DOMSelection.h
diff --git a/Source/core/page/DOMSelection.h b/Source/core/page/DOMSelection.h
index 90163b79dafcb5dc8eb91d0c137a7dd88d2d5894..861857ce69aa8adaf06442b93e4940fab79c7d93 100644
--- a/Source/core/page/DOMSelection.h
+++ b/Source/core/page/DOMSelection.h
@@ -85,7 +85,7 @@ public:
void removeAllRanges();
void addRange(Range*);
void deleteFromDocument();
- bool containsNode(const Node*, bool partlyContained) const;
+ bool containsNode(Node*, bool partlyContained) const;
void selectAllChildren(Node*, ExceptionCode&);
String toString();

Powered by Google App Engine
This is Rietveld 408576698