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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ExceptionState.h

Issue 2615953003: Rename IGNORE_EXCEPTION to IGNORE_EXCEPTION_FOR_TESTING (Closed)
Patch Set: temp Created 3 years, 11 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 | third_party/WebKit/Source/core/dom/ContainerNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h b/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
index 2725a799024db97deeda08ccff1391a01a74c273..c34c579fd3e5089afd40202f293c0611c6654b35 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
@@ -175,7 +175,7 @@ class CORE_EXPORT NonThrowableExceptionState final : public ExceptionState {
// Syntax sugar for NonThrowableExceptionState.
// This can be used as a default value of an ExceptionState parameter like this:
//
-// Node* removeChild(Node* child, ExceptionState& = ASSERT_NO_EXCEPTION)
+// Node* removeChild(Node*, ExceptionState& = ASSERT_NO_EXCEPTION);
#if ENABLE(ASSERT)
#define ASSERT_NO_EXCEPTION \
(::blink::NonThrowableExceptionState(__FILE__, __LINE__).returnThis())
@@ -213,8 +213,9 @@ class CORE_EXPORT DummyExceptionStateForTesting final : public ExceptionState {
// Syntax sugar for DummyExceptionStateForTesting.
// This can be used as a default value of an ExceptionState parameter like this:
//
-// Node* removeChild(Node* child, ExceptionState& = IGNORE_EXCEPTION)
-#define IGNORE_EXCEPTION (::blink::DummyExceptionStateForTesting().returnThis())
+// Node* removeChild(Node*, ExceptionState& = IGNORE_EXCEPTION_FOR_TESTING);
+#define IGNORE_EXCEPTION_FOR_TESTING \
+ (::blink::DummyExceptionStateForTesting().returnThis())
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/ContainerNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698