Restart renderer process for all navigations and reloads, fixes #157.
This commit is contained in:
parent
931182b677
commit
249366c90a
5 changed files with 45 additions and 2 deletions
|
@ -98,4 +98,14 @@ void AtomRendererClient::WillReleaseScriptContext(
|
|||
}
|
||||
}
|
||||
|
||||
bool AtomRendererClient::ShouldFork(WebKit::WebFrame* frame,
|
||||
const GURL& url,
|
||||
const std::string& http_method,
|
||||
bool is_initial_navigation,
|
||||
bool is_server_redirect,
|
||||
bool* send_referrer) {
|
||||
// Handle all the navigations and reloads in browser.
|
||||
return true;
|
||||
}
|
||||
|
||||
} // namespace atom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue