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

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

Issue 541633004: Avoid temporary range allocation in FrameSelection::respondToNodeModification. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address review comments. Created 6 years, 3 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/dom/Range.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Range.h
diff --git a/Source/core/dom/Range.h b/Source/core/dom/Range.h
index 92f78de4f05818846fbb512aae3121fba937edc8..3272bab89a59ffe7913b6dde6c454dfd58b43f7e 100644
--- a/Source/core/dom/Range.h
+++ b/Source/core/dom/Range.h
@@ -78,6 +78,7 @@ public:
static short compareBoundaryPoints(const RangeBoundaryPoint& boundaryA, const RangeBoundaryPoint& boundaryB, ExceptionState&);
bool boundaryPointsValid() const;
bool intersectsNode(Node* refNode, ExceptionState&);
+ static bool intersectsNode(Node* refNode, const Position& start, const Position& end, ExceptionState&);
void deleteContents(ExceptionState&);
PassRefPtrWillBeRawPtr<DocumentFragment> extractContents(ExceptionState&);
PassRefPtrWillBeRawPtr<DocumentFragment> cloneContents(ExceptionState&);
« no previous file with comments | « no previous file | Source/core/dom/Range.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698