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

Unified Diff: content/shell/browser/shell_web_contents_view_delegate_mac.mm

Issue 803813003: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/shell/browser/shell_web_contents_view_delegate_mac.mm
diff --git a/content/shell/browser/shell_web_contents_view_delegate_mac.mm b/content/shell/browser/shell_web_contents_view_delegate_mac.mm
index c198b2a0054071362aabf99eae61e6451ea5cb8c..78ffc271723699a7888ae8f63f7fe8c5c3ae327a 100644
--- a/content/shell/browser/shell_web_contents_view_delegate_mac.mm
+++ b/content/shell/browser/shell_web_contents_view_delegate_mac.mm
@@ -95,7 +95,8 @@ ShellWebContentsViewDelegate::~ShellWebContentsViewDelegate() {
void ShellWebContentsViewDelegate::ShowContextMenu(
RenderFrameHost* render_frame_host,
const ContextMenuParams& params) {
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree))
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDumpRenderTree))
return;
params_ = params;

Powered by Google App Engine
This is Rietveld 408576698