diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-08 20:49:29 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-08 20:49:29 +0000 |
commit | 2e221ccd4a632f98e531c38696f663c83b707d1c (patch) | |
tree | c20b3babdde102fc9ff4ab0043446da543e0ffe3 /content/test/layout_browsertest.cc | |
parent | 7ed25f83dea17c7c888f91bdd50f8e4f876daac9 (diff) | |
download | chromium_src-2e221ccd4a632f98e531c38696f663c83b707d1c.zip chromium_src-2e221ccd4a632f98e531c38696f663c83b707d1c.tar.gz chromium_src-2e221ccd4a632f98e531c38696f663c83b707d1c.tar.bz2 |
[content shell] avoid accessing the filesystem when io restrictions are enabled
BUG=111316
TEST=content_shell doesn't trigger thread io restrictions in debug mode
Review URL: https://chromiumcodereview.appspot.com/11363137
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166751 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/test/layout_browsertest.cc')
-rw-r--r-- | content/test/layout_browsertest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/test/layout_browsertest.cc b/content/test/layout_browsertest.cc index 9d4e628..c3bf9ab 100644 --- a/content/test/layout_browsertest.cc +++ b/content/test/layout_browsertest.cc @@ -153,7 +153,8 @@ void InProcessBrowserLayoutTest::RunLayoutTestInternal( test_controller_->set_printer(printer.release()); LOG(INFO) << "Navigating to URL " << url << " and blocking."; - ASSERT_TRUE(test_controller_->PrepareForLayoutTest(url, false, "")); + ASSERT_TRUE( + test_controller_->PrepareForLayoutTest(url, FilePath(), false, "")); base::RunLoop run_loop; run_loop.Run(); LOG(INFO) << "Navigation completed."; |