Index: chrome/browser/ui/browser_focus_uitest.cc |
diff --git a/chrome/browser/ui/browser_focus_uitest.cc b/chrome/browser/ui/browser_focus_uitest.cc |
index 17d0c4687b66a0a7710353d74ce374b6a3a159a6..10ed8647eeaa252651b1f7ccba9b8afc01932757 100644 |
--- a/chrome/browser/ui/browser_focus_uitest.cc |
+++ b/chrome/browser/ui/browser_focus_uitest.cc |
@@ -14,6 +14,7 @@ |
#include "base/single_thread_task_runner.h" |
#include "base/strings/stringprintf.h" |
#include "base/strings/utf_string_conversions.h" |
+#include "base/threading/thread_restrictions.h" |
#include "base/threading/thread_task_runner_handle.h" |
#include "build/build_config.h" |
#include "chrome/browser/chrome_notification_types.h" |
@@ -179,6 +180,7 @@ class BrowserFocusTest : public InProcessBrowserTest { |
class TestInterstitialPage : public content::InterstitialPageDelegate { |
public: |
explicit TestInterstitialPage(WebContents* tab) { |
+ base::ThreadRestrictions::ScopedAllowIO allow_io; |
base::FilePath file_path; |
bool success = PathService::Get(chrome::DIR_TEST_DATA, &file_path); |
EXPECT_TRUE(success); |