Index: sky/engine/core/app/AbstractModule.cpp |
diff --git a/sky/engine/core/app/AbstractModule.cpp b/sky/engine/core/app/AbstractModule.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9516b6120302f56695174aa0af1a443c588d9b3d |
--- /dev/null |
+++ b/sky/engine/core/app/AbstractModule.cpp |
@@ -0,0 +1,26 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "config.h" |
+#include "core/app/AbstractModule.h" |
+ |
+namespace blink { |
+ |
+AbstractModule::AbstractModule(ExecutionContext* context, Document* document, const String& url) |
+ : ContextLifecycleObserver(context) |
+ , m_document(document) |
+ , m_url(url) |
+{ |
+} |
+ |
+AbstractModule::~AbstractModule() |
+{ |
+} |
+ |
+ExecutionContext* AbstractModule::executionContext() const |
+{ |
+ return ContextLifecycleObserver::executionContext(); |
+} |
+ |
+} // namespace blink |