diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-03-12 00:35:01 +0100 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-04-17 17:35:24 +0200 |
commit | d273bec68fd867f047944ab9d28ac5c5c6617571 (patch) | |
tree | 92efbacd5d67fa1ed73afcdff18d8a22fce3b8d0 /src/core/hle/service/am/applets/web_browser.cpp | |
parent | web_browser: Make OpenPage const (diff) | |
download | yuzu-d273bec68fd867f047944ab9d28ac5c5c6617571.tar yuzu-d273bec68fd867f047944ab9d28ac5c5c6617571.tar.gz yuzu-d273bec68fd867f047944ab9d28ac5c5c6617571.tar.bz2 yuzu-d273bec68fd867f047944ab9d28ac5c5c6617571.tar.lz yuzu-d273bec68fd867f047944ab9d28ac5c5c6617571.tar.xz yuzu-d273bec68fd867f047944ab9d28ac5c5c6617571.tar.zst yuzu-d273bec68fd867f047944ab9d28ac5c5c6617571.zip |
Diffstat (limited to 'src/core/hle/service/am/applets/web_browser.cpp')
-rw-r--r-- | src/core/hle/service/am/applets/web_browser.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/hle/service/am/applets/web_browser.cpp b/src/core/hle/service/am/applets/web_browser.cpp index 7e17df98a..a66e23fce 100644 --- a/src/core/hle/service/am/applets/web_browser.cpp +++ b/src/core/hle/service/am/applets/web_browser.cpp @@ -95,7 +95,7 @@ static FileSys::VirtualFile GetManualRomFS() { return nullptr; } -WebBrowser::WebBrowser() = default; +WebBrowser::WebBrowser(const Core::Frontend::WebBrowserApplet& frontend) : frontend(frontend) {} WebBrowser::~WebBrowser() = default; @@ -152,8 +152,6 @@ void WebBrowser::Execute() { return; } - auto& frontend{Core::System::GetInstance().GetWebBrowser()}; - frontend.OpenPage(filename, [this] { UnpackRomFS(); }, [this] { Finalize(); }); } |