| Index: content/shell/shell_browser_main.cc
|
| diff --git a/content/shell/shell_browser_main.cc b/content/shell/shell_browser_main.cc
|
| index cffd46421c29c682973ddd7b9b584eaeb77a4fd7..182f7a24dfeeb96381d77a9aa6d87b3cf1589ce6 100644
|
| --- a/content/shell/shell_browser_main.cc
|
| +++ b/content/shell/shell_browser_main.cc
|
| @@ -123,6 +123,13 @@ int ShellBrowserMain(const content::MainFunctionParams& parameters) {
|
|
|
| if (layout_test_mode) {
|
| content::WebKitTestController test_controller;
|
| + {
|
| + // We're outside of the message loop here, and this is a test.
|
| + base::ThreadRestrictions::ScopedAllowIO allow_io;
|
| + base::FilePath temp_path;
|
| + file_util::GetTempDir(&temp_path);
|
| + test_controller.SetTempPath(temp_path);
|
| + }
|
| std::string test_string;
|
| CommandLine::StringVector args =
|
| CommandLine::ForCurrentProcess()->GetArgs();
|
|
|