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

Unified Diff: third_party/WebKit/Source/platform/bindings/V8ThrowException.h

Issue 2843603002: Move ScriptWrappable and dependencies to platform/bindings (Closed)
Patch Set: Rebase and try again 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/platform/bindings/V8ThrowException.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8ThrowException.h b/third_party/WebKit/Source/platform/bindings/V8ThrowException.h
similarity index 97%
copy from third_party/WebKit/Source/bindings/core/v8/V8ThrowException.h
copy to third_party/WebKit/Source/platform/bindings/V8ThrowException.h
index c2ef2cd53fe503612482f79f3c792d5614dbae85..94986950c18465b20930939e80c534b897944e49 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8ThrowException.h
+++ b/third_party/WebKit/Source/platform/bindings/V8ThrowException.h
@@ -25,7 +25,7 @@
#ifndef V8ThrowException_h
#define V8ThrowException_h
-#include "core/CoreExport.h"
+#include "platform/PlatformExport.h"
#include "platform/wtf/Allocator.h"
#include "platform/wtf/text/WTFString.h"
#include "v8/include/v8.h"
@@ -33,11 +33,10 @@
namespace blink {
// Provides utility functions to create and/or throw JS built-in errors.
-class CORE_EXPORT V8ThrowException {
+class PLATFORM_EXPORT V8ThrowException {
STATIC_ONLY(V8ThrowException);
public:
-
static void ThrowException(v8::Isolate* isolate,
v8::Local<v8::Value> exception) {
if (!isolate->IsExecutionTerminating())

Powered by Google App Engine
This is Rietveld 408576698