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

Unified Diff: sky/engine/core/app/Application.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/AbstractModule.cpp ('k') | sky/engine/core/app/Application.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/app/Application.h
diff --git a/sky/engine/core/app/Application.h b/sky/engine/core/app/Application.h
index d5fbb41c630ce444b9daef34079edc7518240425..24bf8cedda0923f119eecd7c300c97f8adb634eb 100644
--- a/sky/engine/core/app/Application.h
+++ b/sky/engine/core/app/Application.h
@@ -13,7 +13,7 @@ class Application : public AbstractModule {
DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtr<Application> create(ExecutionContext* context,
- Document* document,
+ PassRefPtr<Document> document,
const String& url) {
return adoptRef(new Application(context, document, url));
}
@@ -24,7 +24,9 @@ public:
const String& title() { return title_; }
private:
- Application(ExecutionContext* context, Document* document, const String& url);
+ Application(ExecutionContext* context,
+ PassRefPtr<Document> document,
+ const String& url);
const AtomicString& interfaceName() const override;
String title_;
« no previous file with comments | « sky/engine/core/app/AbstractModule.cpp ('k') | sky/engine/core/app/Application.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698