Restart renderer process for all navigations and reloads, fixes #157.

This commit is contained in:
Cheng Zhao 2014-01-14 16:03:01 +08:00
parent 931182b677
commit 249366c90a
5 changed files with 45 additions and 2 deletions

View file

@ -50,8 +50,8 @@ bool AtomBrowserClient::ShouldSwapProcessesForNavigation(
content::SiteInstance* site_instance,
const GURL& current_url,
const GURL& new_url) {
// Restart renderer process if navigating to the same url.
return current_url == new_url;
// Restart renderer process for all navigations.
return true;
}
brightray::BrowserMainParts* AtomBrowserClient::OverrideCreateBrowserMainParts(