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

Unified Diff: sky/engine/core/frame/FrameHost.h

Issue 873923003: sky/shell should link with sky/engine (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: moar deps Created 5 years, 10 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
« no previous file with comments | « no previous file | sky/engine/core/frame/FrameHost.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/frame/FrameHost.h
diff --git a/sky/engine/core/frame/FrameHost.h b/sky/engine/core/frame/FrameHost.h
index f17c1e81c1db0f0f892716520f710bc0af303d24..92b62283f7606cdebc81bbbbcc7398159997aa5e 100644
--- a/sky/engine/core/frame/FrameHost.h
+++ b/sky/engine/core/frame/FrameHost.h
@@ -55,14 +55,14 @@ class Settings;
class FrameHost final {
WTF_MAKE_NONCOPYABLE(FrameHost); WTF_MAKE_FAST_ALLOCATED;
public:
- static PassOwnPtr<FrameHost> create(Page&, ServiceProvider&);
+ static PassOwnPtr<FrameHost> create(Page&, ServiceProvider*);
~FrameHost();
// Careful: This function will eventually be removed.
Page& page() const { return *m_page; }
Settings& settings() const;
- ServiceProvider& services() const { return m_services; }
+ ServiceProvider* services() const { return m_services; }
// Corresponds to pixel density of the device where this Page is
// being displayed. In multi-monitor setups this can vary between pages.
@@ -70,10 +70,10 @@ public:
float deviceScaleFactor() const;
private:
- FrameHost(Page&, ServiceProvider&);
+ FrameHost(Page&, ServiceProvider*);
Page* m_page;
- ServiceProvider& m_services;
+ ServiceProvider* m_services;
};
}
« no previous file with comments | « no previous file | sky/engine/core/frame/FrameHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698