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

Unified Diff: third_party/WebKit/Source/platform/bindings/ScriptWrappable.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/ScriptWrappable.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h b/third_party/WebKit/Source/platform/bindings/ScriptWrappable.h
similarity index 97%
copy from third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h
copy to third_party/WebKit/Source/platform/bindings/ScriptWrappable.h
index 3989ab33a85f40fead28dd6e5bb49d84ae44b04f..d98084bae4e57c5a3c43a5b599f622400eb4c9c1 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h
+++ b/third_party/WebKit/Source/platform/bindings/ScriptWrappable.h
@@ -31,9 +31,9 @@
#ifndef ScriptWrappable_h
#define ScriptWrappable_h
-#include "bindings/core/v8/ScriptWrappableVisitor.h"
-#include "bindings/core/v8/WrapperTypeInfo.h"
-#include "core/CoreExport.h"
+#include "platform/PlatformExport.h"
+#include "platform/bindings/ScriptWrappableVisitor.h"
+#include "platform/bindings/WrapperTypeInfo.h"
#include "platform/heap/Handle.h"
#include "platform/wtf/Compiler.h"
#include "platform/wtf/Noncopyable.h"
@@ -42,7 +42,7 @@
namespace blink {
-class CORE_EXPORT TraceWrapperBase {
+class PLATFORM_EXPORT TraceWrapperBase {
WTF_MAKE_NONCOPYABLE(TraceWrapperBase);
public:
@@ -58,7 +58,7 @@ class CORE_EXPORT TraceWrapperBase {
// a ScriptWrappable. v8::Object as platform object is called "wrapper object".
// The wrapepr object for the main world is stored in ScriptWrappable. Wrapper
// objects for other worlds are stored in DOMWrapperMap.
-class CORE_EXPORT ScriptWrappable : public TraceWrapperBase {
+class PLATFORM_EXPORT ScriptWrappable : public TraceWrapperBase {
WTF_MAKE_NONCOPYABLE(ScriptWrappable);
public:

Powered by Google App Engine
This is Rietveld 408576698