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

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

Issue 2615953003: Rename IGNORE_EXCEPTION to IGNORE_EXCEPTION_FOR_TESTING (Closed)
Patch Set: 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..9254ff0e17699f5130fac155c35a0a3c1ca8f88d 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
@@ -213,8 +213,10 @@ 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* child, ExceptionState& =
+// IGNORE_EXCEPTION_FOR_TESTING)
Yuki 2017/01/06 13:05:27 nit: indent 4 spaces?
haraken 2017/01/06 13:09:16 Fixed.
+#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