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

Unified Diff: third_party/WebKit/Source/platform/bindings/ScriptWrappable.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/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 96%
copy from third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h
copy to third_party/WebKit/Source/platform/bindings/ScriptWrappable.h
index 3989ab33a85f40fead28dd6e5bb49d84ae44b04f..43f6f9bc30ce75c9c3f3167f9f4624eadb788634 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h
+++ b/third_party/WebKit/Source/platform/bindings/ScriptWrappable.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010 Google Inc. All rights reserved.
+ * Copyright (C) 2017 Google Inc. All rights reserved.
jbroman 2017/04/25 21:45:34 Here and elsewhere: don't update copyright headers
adithyas 2017/04/26 19:44:50 Done.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -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