Index: chrome/browser/ui/views/chrome_views_delegate.cc |
diff --git a/chrome/browser/ui/views/chrome_views_delegate.cc b/chrome/browser/ui/views/chrome_views_delegate.cc |
index 01a0585b453c120f092c3c3f5e217d82f5e15755..839e0c7cf4de7978f37dce9fa50b7575d16a59e0 100644 |
--- a/chrome/browser/ui/views/chrome_views_delegate.cc |
+++ b/chrome/browser/ui/views/chrome_views_delegate.cc |
@@ -14,6 +14,7 @@ |
#include "chrome/browser/profiles/profile_manager.h" |
#include "chrome/browser/ui/browser_window_state.h" |
#include "chrome/common/chrome_version_info.h" |
+#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/context_factory.h" |
#include "grit/chrome_unscaled_resources.h" |
#include "ui/base/resource/resource_bundle.h" |
@@ -388,6 +389,12 @@ std::string ChromeViewsDelegate::GetApplicationName() { |
return chrome::VersionInfo().Name(); |
} |
+scoped_refptr<base::TaskRunner> |
+ ChromeViewsDelegate::GetInitializationTaskRunner() { |
+ return content::BrowserThread::GetMessageLoopProxyForThread( |
sky
2015/04/24 20:52:28
Why do we want to run this on the file thread?
dmazzoni
2015/04/24 21:23:43
It's the call to g_module_open in ui/accessibility
|
+ content::BrowserThread::FILE); |
+} |
+ |
#if defined(OS_WIN) |
int ChromeViewsDelegate::GetAppbarAutohideEdges(HMONITOR monitor, |
const base::Closure& callback) { |