| Index: content/renderer/render_view_impl.cc
|
| diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
|
| index a0ea58d9ac50d107aebfa621289e35cfb4bb88b6..be301da3f21dda598e6c03d7cfeb2726186a3631 100644
|
| --- a/content/renderer/render_view_impl.cc
|
| +++ b/content/renderer/render_view_impl.cc
|
| @@ -3266,14 +3266,14 @@ WebNavigationPolicy RenderViewImpl::DecidePolicyForNavigation(
|
| (frame->isViewSourceModeEnabled() &&
|
| type != blink::WebNavigationTypeReload);
|
|
|
| - if (!should_fork && url.SchemeIs(chrome::kFileScheme)) {
|
| + if (!should_fork && url.SchemeIs(kFileScheme)) {
|
| // Fork non-file to file opens. Check the opener URL if this is the
|
| // initial navigation in a newly opened window.
|
| GURL source_url(old_url);
|
| if (is_initial_navigation && source_url.is_empty() && frame->opener())
|
| source_url = frame->opener()->top()->document().url();
|
| DCHECK(!source_url.is_empty());
|
| - should_fork = !source_url.SchemeIs(chrome::kFileScheme);
|
| + should_fork = !source_url.SchemeIs(kFileScheme);
|
| }
|
|
|
| if (!should_fork) {
|
|
|