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

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

Issue 24278008: [oilpan] Handlify Nodes in htmlediting (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 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
Index: Source/core/page/DOMSelection.cpp
diff --git a/Source/core/page/DOMSelection.cpp b/Source/core/page/DOMSelection.cpp
index 33697b37b53692c9c7003eeb4d9c014bc59dbd61..d6b896e3acf7377673c4ff041bc2f2d9e03b6c12 100644
--- a/Source/core/page/DOMSelection.cpp
+++ b/Source/core/page/DOMSelection.cpp
@@ -340,7 +340,7 @@ void DOMSelection::extend(const Handle<Node>& node, int offset, ExceptionCode& e
return;
}
- if (offset < 0 || offset > (node->offsetInCharacters() ? caretMaxOffset(node.raw()) : (int)node->childNodeCount())) {
+ if (offset < 0 || offset > (node->offsetInCharacters() ? caretMaxOffset(node) : (int)node->childNodeCount())) {
ec = INDEX_SIZE_ERR;
return;
}

Powered by Google App Engine
This is Rietveld 408576698