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

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

Issue 2834463002: Move CreateDOMException out of V8ThrowException (Closed)
Patch Set: Created 3 years, 8 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: third_party/WebKit/Source/bindings/core/v8/V8ThrowException.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8ThrowException.h b/third_party/WebKit/Source/bindings/core/v8/V8ThrowException.h
index e875dd927a966b3071387b0ad885db215fdc85ee..8511068f75ed95dd4f37a91de6cc91f55396ee81 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8ThrowException.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8ThrowException.h
@@ -26,7 +26,6 @@
#define V8ThrowException_h
#include "core/CoreExport.h"
-#include "core/dom/ExceptionCode.h"
#include "platform/wtf/Allocator.h"
#include "platform/wtf/text/WTFString.h"
#include "v8/include/v8.h"
@@ -39,14 +38,6 @@ class CORE_EXPORT V8ThrowException {
STATIC_ONLY(V8ThrowException);
public:
- // Creates and returns an exception object, or returns an empty handle if
- // failed. |unsanitizedMessage| should not be specified unless it's
- // SecurityError.
- static v8::Local<v8::Value> CreateDOMException(
- v8::Isolate*,
- ExceptionCode,
- const String& sanitized_message,
- const String& unsanitized_message = String());
static void ThrowException(v8::Isolate* isolate,
v8::Local<v8::Value> exception) {

Powered by Google App Engine
This is Rietveld 408576698