Index: content/child/blink_platform_impl.cc |
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc |
index dc71511365116f2523697fe44f9a2cfe3eba1da0..85a391cde8b0bdca7175c5dc8ba41102cc618991 100644 |
--- a/content/child/blink_platform_impl.cc |
+++ b/content/child/blink_platform_impl.cc |
@@ -25,6 +25,7 @@ |
#include "base/synchronization/lock.h" |
#include "base/synchronization/waitable_event.h" |
#include "base/sys_info.h" |
+#include "base/threading/platform_thread.h" |
#include "base/time/time.h" |
#include "blink/public/resources/grit/blink_resources.h" |
#include "content/app/resources/grit/content_resources.h" |
@@ -494,6 +495,10 @@ blink::WebThread* BlinkPlatformImpl::currentThread() { |
return thread; |
} |
+void BlinkPlatformImpl::yieldCurrentThread() { |
+ base::PlatformThread::YieldCurrentThread(); |
+} |
+ |
blink::WebWaitableEvent* BlinkPlatformImpl::createWaitableEvent() { |
return new WebWaitableEventImpl(); |
} |