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

Unified Diff: content/shell/shell_main_delegate.cc

Issue 11116013: [content shell] allow universal access from file URLs in layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 years, 2 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
« no previous file with comments | « content/public/common/content_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_main_delegate.cc
diff --git a/content/shell/shell_main_delegate.cc b/content/shell/shell_main_delegate.cc
index ad1abcc3898b23a71819a4d16cb6afd68ec1ad54..97ad101dfcc338755a49c11b7189ffcde1b257bf 100644
--- a/content/shell/shell_main_delegate.cc
+++ b/content/shell/shell_main_delegate.cc
@@ -88,6 +88,8 @@ bool ShellMainDelegate::BasicStartupComplete(int* exit_code) {
InitLogging();
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) {
CommandLine::ForCurrentProcess()->AppendSwitch(
+ switches::kAllowUniversalAccessFromFiles);
+ CommandLine::ForCurrentProcess()->AppendSwitch(
switches::kAllowFileAccessFromFiles);
CommandLine::ForCurrentProcess()->AppendSwitch(
switches::kForceCompositingMode);
« no previous file with comments | « content/public/common/content_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698