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

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

Issue 23964014: Improve exception messages for detached Range objects. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline. 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
« no previous file with comments | « LayoutTests/fast/dom/Range/resources/intersectsNode.js ('k') | 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 88501446fd7a969dc5af2ea93993dcde0ddd6cfc..82b716c6d1795aaf498e9d7e1ed9993856886816 100644
--- a/Source/core/dom/Range.h
+++ b/Source/core/dom/Range.h
@@ -156,8 +156,8 @@ private:
void setDocument(Document&);
Node* checkNodeWOffset(Node*, int offset, ExceptionState&) const;
- void checkNodeBA(Node*, ExceptionState&, const char* methodName) const;
- void checkDeleteExtract(ExceptionState&);
+ void checkNodeBA(Node*, const String& methodName, ExceptionState&) const;
+ void checkDeleteExtract(const String& methodName, ExceptionState&);
int maxStartOffset() const;
int maxEndOffset() const;
« no previous file with comments | « LayoutTests/fast/dom/Range/resources/intersectsNode.js ('k') | Source/core/dom/Range.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698