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

Unified Diff: content/shell/shell_browser_main_parts.cc

Issue 10823263: Add Debug menu to Mac Content Shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/shell/shell_browser_main_parts.cc
diff --git a/content/shell/shell_browser_main_parts.cc b/content/shell/shell_browser_main_parts.cc
index ac5471f768d7a213ea00a6d8bfc742e30642c49c..02ca51e5080b619314f0cdd56d503630bb26588a 100644
--- a/content/shell/shell_browser_main_parts.cc
+++ b/content/shell/shell_browser_main_parts.cc
@@ -79,13 +79,8 @@ void ShellBrowserMainParts::PreMainMessageLoopRun() {
Shell::PlatformInitialize();
net::NetModule::SetResourceProvider(Shell::PlatformResourceProvider);
-#if defined(OS_ANDROID)
- devtools_delegate_ = new ShellDevToolsDelegate(
- browser_context_->GetRequestContext());
-#else
devtools_delegate_ = new ShellDevToolsDelegate(
browser_context_->GetRequestContext());
-#endif
if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) {
Shell::CreateNewWindow(browser_context_.get(),

Powered by Google App Engine
This is Rietveld 408576698