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

Unified Diff: sky/engine/core/app/Module.h

Issue 715833002: AbstractModule should accept a PassRefPtr (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « sky/engine/core/app/Application.cpp ('k') | sky/engine/core/app/Module.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/app/Module.h
diff --git a/sky/engine/core/app/Module.h b/sky/engine/core/app/Module.h
index 3cb87765c89f4b02599ac4d182fede89afe32a7b..44fb1a5ecf222686482b50ef0500e0c6b73d4d72 100644
--- a/sky/engine/core/app/Module.h
+++ b/sky/engine/core/app/Module.h
@@ -15,7 +15,7 @@ class Module : public AbstractModule {
public:
static PassRefPtr<Module> create(ExecutionContext* context,
Application* application,
- Document* document,
+ PassRefPtr<Document> document,
const String& url) {
return adoptRef(new Module(context, application, document, url));
}
@@ -30,7 +30,7 @@ public:
private:
Module(ExecutionContext* context,
Application* application,
- Document* document,
+ PassRefPtr<Document> document,
const String& url);
const AtomicString& interfaceName() const override;
« no previous file with comments | « sky/engine/core/app/Application.cpp ('k') | sky/engine/core/app/Module.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698