commit | 5cc31c083bcd396f5b1fc09f324532af5b73dc89 | [log] [tgz] |
---|---|---|
author | Yuta Kitamura <yutak@chromium.org> | Tue Sep 11 03:36:10 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Sep 11 03:36:10 2018 |
tree | d7a758cab4ef084783e7a8422e24dba6ed072b32 | |
parent | ca50bc084195969da2b967a36178ad8108c0cf4a [diff] |
Use SimpleThread and SimpleThreadScheduler in PpapiBlinkPlatform. This CL lets PpapiThread use CreateMainThreadAndInitialize() so the Platform class can create the main thread on behalf. Previously, the code does not create an WebThread instance for the main thread(!), and PpapiBlinkPlatform::CurrentThread() actually returns nullptr on the main thread(!). This is because BlinkPlatformImpl:: CurrentThread() only cares about non-main threads created with CreateThread(). This CL fixes this issue. Bug: 826203 Change-Id: Icc1319e70da2d7c2a3ccaee0adb140df80cd496d Reviewed-on: https://chromium-review.googlesource.com/1186019 Reviewed-by: Alexander Timin <altimin@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Commit-Queue: Yuta Kitamura <yutak@chromium.org> Cr-Commit-Position: refs/heads/master@{#590188}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .