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

Unified Diff: third_party/WebKit/Source/core/workers/Worklet.h

Issue 2262483003: Worklet: Move common worklet code from modules/worklet to core/workers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove modules/worklet directory Created 4 years, 4 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/core/workers/Worklet.h
diff --git a/third_party/WebKit/Source/modules/worklet/Worklet.h b/third_party/WebKit/Source/core/workers/Worklet.h
similarity index 88%
rename from third_party/WebKit/Source/modules/worklet/Worklet.h
rename to third_party/WebKit/Source/core/workers/Worklet.h
index 1dea3965f778a7c3d4e4b6f2d154cdab222ef785..549e542a976cd9248e70bd36add6a47a8e2a7137 100644
--- a/third_party/WebKit/Source/modules/worklet/Worklet.h
+++ b/third_party/WebKit/Source/core/workers/Worklet.h
@@ -7,9 +7,9 @@
#include "bindings/core/v8/ScriptPromise.h"
#include "bindings/core/v8/ScriptWrappable.h"
+#include "core/CoreExport.h"
#include "core/dom/ActiveDOMObject.h"
#include "core/fetch/ScriptResource.h"
-#include "modules/ModulesExport.h"
#include "platform/heap/Handle.h"
namespace blink {
@@ -19,7 +19,7 @@ class ResourceFetcher;
class WorkletGlobalScopeProxy;
class WorkletScriptLoader;
-class MODULES_EXPORT Worklet : public GarbageCollectedFinalized<Worklet>, public ScriptWrappable, public ActiveDOMObject {
+class CORE_EXPORT Worklet : public GarbageCollectedFinalized<Worklet>, public ScriptWrappable, public ActiveDOMObject {
DEFINE_WRAPPERTYPEINFO();
USING_GARBAGE_COLLECTED_MIXIN(Worklet);
WTF_MAKE_NONCOPYABLE(Worklet);

Powered by Google App Engine
This is Rietveld 408576698