Index: chrome/browser/browser_main.cc |
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc |
index b1fddf6faabb3667a3b7c3a960f1113528f919c9..d6dd7e2dfaaf4fa568538127de0d4e4878bf2687 100644 |
--- a/chrome/browser/browser_main.cc |
+++ b/chrome/browser/browser_main.cc |
@@ -782,6 +782,10 @@ int BrowserMain(const MainFunctionParams& parameters) { |
if (parsed_command_line.HasSwitch(switches::kEnableWebResources)) |
profile->InitWebResources(); |
+ // Stat the directory with the inspector's files so that we can know if we |
+ // should display the entry in the context menu or not. |
+ browser_process->CheckForInspectorFiles(); |
+ |
int result_code = ResultCodes::NORMAL_EXIT; |
if (parameters.ui_task) { |
// We are in test mode. Run one task and enter the main message loop. |