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

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

Issue 22417002: Rename ASSERT_NO_EXCEPTION_STATE and IGNORE_EXCEPTION_STATE (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
« no previous file with comments | « Source/core/dom/Node.cpp ('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 f496cb76fd37d61edd99d5b313814255451712b1..0de0a15d67b2050f6859dc25582eda027afa41a3 100644
--- a/Source/core/dom/Range.h
+++ b/Source/core/dom/Range.h
@@ -68,8 +68,8 @@ public:
Node* commonAncestorContainer(ExceptionState&) const;
static Node* commonAncestorContainer(Node* containerA, Node* containerB);
- void setStart(PassRefPtr<Node> container, int offset, ExceptionState& = ASSERT_NO_EXCEPTION_STATE);
- void setEnd(PassRefPtr<Node> container, int offset, ExceptionState& = ASSERT_NO_EXCEPTION_STATE);
+ void setStart(PassRefPtr<Node> container, int offset, ExceptionState& = ASSERT_NO_EXCEPTION);
+ void setEnd(PassRefPtr<Node> container, int offset, ExceptionState& = ASSERT_NO_EXCEPTION);
void collapse(bool toStart, ExceptionState&);
bool isPointInRange(Node* refNode, int offset, ExceptionState&);
short comparePoint(Node* refNode, int offset, ExceptionState&) const;
@@ -95,18 +95,18 @@ public:
void detach(ExceptionState&);
PassRefPtr<Range> cloneRange(ExceptionState&) const;
- void setStartAfter(Node*, ExceptionState& = ASSERT_NO_EXCEPTION_STATE);
- void setEndBefore(Node*, ExceptionState& = ASSERT_NO_EXCEPTION_STATE);
- void setEndAfter(Node*, ExceptionState& = ASSERT_NO_EXCEPTION_STATE);
- void selectNode(Node*, ExceptionState& = ASSERT_NO_EXCEPTION_STATE);
+ void setStartAfter(Node*, ExceptionState& = ASSERT_NO_EXCEPTION);
+ void setEndBefore(Node*, ExceptionState& = ASSERT_NO_EXCEPTION);
+ void setEndAfter(Node*, ExceptionState& = ASSERT_NO_EXCEPTION);
+ void selectNode(Node*, ExceptionState& = ASSERT_NO_EXCEPTION);
void selectNodeContents(Node*, ExceptionState&);
void surroundContents(PassRefPtr<Node>, ExceptionState&);
void setStartBefore(Node*, ExceptionState&);
const Position startPosition() const { return m_start.toPosition(); }
const Position endPosition() const { return m_end.toPosition(); }
- void setStart(const Position&, ExceptionState& = ASSERT_NO_EXCEPTION_STATE);
- void setEnd(const Position&, ExceptionState& = ASSERT_NO_EXCEPTION_STATE);
+ void setStart(const Position&, ExceptionState& = ASSERT_NO_EXCEPTION);
+ void setEnd(const Position&, ExceptionState& = ASSERT_NO_EXCEPTION);
Node* firstNode() const;
Node* pastLastNode() const;
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/dom/Range.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698