Index: third_party/WebKit/Source/platform/exported/Platform.cpp |
diff --git a/third_party/WebKit/Source/platform/exported/Platform.cpp b/third_party/WebKit/Source/platform/exported/Platform.cpp |
index 9cc246e98c19e962e44427a304c646520ea95ee6..b3a9e2a3ccbe216b095bcf6a22e94274c4049fb6 100644 |
--- a/third_party/WebKit/Source/platform/exported/Platform.cpp |
+++ b/third_party/WebKit/Source/platform/exported/Platform.cpp |
@@ -41,6 +41,7 @@ |
#include "public/platform/Platform.h" |
#include "public/platform/WebPrerenderingSupport.h" |
#include "wtf/HashMap.h" |
+#include "wtf/WTFThreadData.h" |
namespace blink { |
@@ -104,6 +105,10 @@ void Platform::initialize(Platform* platform) { |
} |
} |
+void Platform::initializeThread() { |
+ WTFThreadData::initializeOnOffThread(); |
+} |
+ |
void Platform::shutdown() { |
ASSERT(isMainThread()); |
if (s_platform->m_mainThread) { |