Skip to content

Commit

Permalink
Support CEF branch 2987
Browse files Browse the repository at this point in the history
  • Loading branch information
OsirisNL committed Feb 26, 2017
1 parent 6753bb9 commit 042c824
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions shared/browser-app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ CefRefPtr<CefRenderProcessHandler> BrowserApp::GetRenderProcessHandler()
}

void BrowserApp::OnRegisterCustomSchemes(
CefRefPtr<CefSchemeRegistrar> registrar)
CefRawPtr<CefSchemeRegistrar> registrar)
{
registrar->AddCustomScheme("http", true, true, false);
registrar->AddCustomScheme("http", true, true, false, false, true);
}

void BrowserApp::OnBeforeCommandLineProcessing(
Expand Down
2 changes: 1 addition & 1 deletion shared/browser-app.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class BrowserApp : public CefApp,
public:
virtual CefRefPtr<CefRenderProcessHandler> GetRenderProcessHandler() OVERRIDE;
virtual void OnRegisterCustomSchemes(
CefRefPtr<CefSchemeRegistrar> registrar) OVERRIDE;
CefRawPtr<CefSchemeRegistrar> registrar) OVERRIDE;
virtual void OnBeforeCommandLineProcessing(
const CefString& process_type,
CefRefPtr<CefCommandLine> command_line) OVERRIDE;
Expand Down

0 comments on commit 042c824

Please sign in to comment.