Index: chrome/browser/chrome_browser_main_gtk.cc |
diff --git a/chrome/browser/chrome_browser_main_gtk.cc b/chrome/browser/chrome_browser_main_gtk.cc |
index b5d29763a942f0494903575c7074c25140219288..c3a327c0360dd11106e8cdedcc48e867c582e5f2 100644 |
--- a/chrome/browser/chrome_browser_main_gtk.cc |
+++ b/chrome/browser/chrome_browser_main_gtk.cc |
@@ -86,6 +86,9 @@ void ChromeBrowserMainPartsGtk::PreEarlyInitialization() { |
} |
void ChromeBrowserMainPartsGtk::DetectRunningAsRoot() { |
+#if defined(USE_AURA) |
+ // TODO(saintlou): |
+#else |
if (geteuid() == 0) { |
const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
if (parsed_command_line().HasSwitch(switches::kUserDataDir)) |
@@ -124,6 +127,7 @@ void ChromeBrowserMainPartsGtk::DetectRunningAsRoot() { |
gtk_widget_destroy(dialog); |
exit(EXIT_FAILURE); |
} |
+#endif |
} |
namespace content { |