Fix cpplint errors

This commit is contained in:
Ryohei Ikegami 2017-04-12 12:25:56 +09:00
parent b07c3adca9
commit b19c5154ca
3 changed files with 15 additions and 6 deletions

View file

@ -106,10 +106,10 @@ bool AtomBrowserClient::ShouldCreateNewSiteInstance(
auto web_contents =
content::WebContents::FromRenderFrameHost(render_frame_host);
if (!ChildWebContentsTracker::IsChildWebContents(web_contents)) {
// Root WebContents should always create new process
// to make sure native addons are loaded correctly after reload / navigation.
// (Non-root WebContents opened by window.open() should try to reuse process
// to allow synchronous cross-window scripting.)
// Root WebContents should always create new process to make sure
// native addons are loaded correctly after reload / navigation.
// (Non-root WebContents opened by window.open() should try to
// reuse process to allow synchronous cross-window scripting.)
return true;
}
}