Get us compiling on macOS
This commit is contained in:
parent
8580a34f9f
commit
846d516584
1 changed files with 3 additions and 3 deletions
|
@ -91,9 +91,9 @@ PdfViewerUI::PdfViewerUI(content::BrowserContext* browser_context,
|
||||||
content::WebUI* web_ui,
|
content::WebUI* web_ui,
|
||||||
const std::string& view_id,
|
const std::string& view_id,
|
||||||
const std::string& src)
|
const std::string& src)
|
||||||
: src_(src),
|
: content::WebUIController(web_ui),
|
||||||
content::WebUIController(web_ui),
|
content::WebContentsObserver(web_ui->GetWebContents()),
|
||||||
content::WebContentsObserver(web_ui->GetWebContents()) {
|
src_(src) {
|
||||||
auto context = static_cast<AtomBrowserContext*>(browser_context);
|
auto context = static_cast<AtomBrowserContext*>(browser_context);
|
||||||
auto stream_manager = context->stream_manager();
|
auto stream_manager = context->stream_manager();
|
||||||
stream_ = stream_manager->ReleaseStream(view_id);
|
stream_ = stream_manager->ReleaseStream(view_id);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue