Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(659)

Unified Diff: content/browser/frame_host/navigator_impl.cc

Issue 456513002: Add base:: qualification to some CommandLine references in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: imerge Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/navigator_impl.cc
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc
index 020404fbbfdbce6b478b020023d5ceeaad19bdd6..0d6bf9dfa5c51e1b0aea61f522dc83fc5d90b06d 100644
--- a/content/browser/frame_host/navigator_impl.cc
+++ b/content/browser/frame_host/navigator_impl.cc
@@ -127,7 +127,8 @@ void MakeNavigateParams(const NavigationEntryImpl& entry,
}
RenderFrameHostManager* GetRenderManager(RenderFrameHostImpl* rfh) {
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kSitePerProcess))
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kSitePerProcess))
return rfh->frame_tree_node()->render_manager();
return rfh->frame_tree_node()->frame_tree()->root()->render_manager();
@@ -418,8 +419,8 @@ void NavigatorImpl::DidNavigate(
const FrameHostMsg_DidCommitProvisionalLoad_Params& input_params) {
FrameHostMsg_DidCommitProvisionalLoad_Params params(input_params);
FrameTree* frame_tree = render_frame_host->frame_tree_node()->frame_tree();
- bool use_site_per_process =
- CommandLine::ForCurrentProcess()->HasSwitch(switches::kSitePerProcess);
+ bool use_site_per_process = base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kSitePerProcess);
if (use_site_per_process) {
// TODO(creis): Until we mirror the frame tree in the subframe's process,
@@ -604,7 +605,8 @@ void NavigatorImpl::RequestTransferURL(
}
int64 frame_tree_node_id = -1;
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kSitePerProcess)) {
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kSitePerProcess)) {
frame_tree_node_id =
render_frame_host->frame_tree_node()->frame_tree_node_id();
}
« no previous file with comments | « content/browser/frame_host/navigation_entry_screenshot_manager.cc ('k') | content/browser/gpu/compositor_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698