mojo: Update WebThread implementation
commitddf26a7752261e51a7ee228770668c20d8a3d2d1
authorskyostil <skyostil@chromium.org>
Thu, 12 Feb 2015 12:30:36 +0000 (12 04:30 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 12 Feb 2015 12:31:11 +0000 (12 12:31 +0000)
treee3519887fff3de887a1de1f31e5d892f5d71ef2a
parenta94702edcfe1fc608b74a9a35b49a44c566a14b2
mojo: Update WebThread implementation

This patch pulls in two fixes to mojo's WebThread implementation from
Chromium:

1. Race condition fix for deleting posted tasks.

2. Add postTask/postDelayedTask variants that take the posting location
   as a parameter.

BUG=450977

Review URL: https://codereview.chromium.org/911073002

Cr-Commit-Position: refs/heads/master@{#315962}
mojo/services/html_viewer/webthread_impl.cc
mojo/services/html_viewer/webthread_impl.h