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

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

Issue 2843603002: Move ScriptWrappable and dependencies to platform/bindings (Closed)
Patch Set: Remove stray include 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 95%
copy from third_party/WebKit/Source/bindings/core/v8/V8ThrowException.h
copy to third_party/WebKit/Source/platform/bindings/V8ThrowException.h
index c2ef2cd53fe503612482f79f3c792d5614dbae85..dc2725489c6b513170524b753c6c535d171a82c8 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8ThrowException.h
+++ b/third_party/WebKit/Source/platform/bindings/V8ThrowException.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009 Google Inc. All rights reserved.
+ * Copyright (C) 2017 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -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