Allow CRSBLOG to be used on other threads
Javascript can only be invoked from the UI thread, so call over to the UI thread before sending CRSBLOG messages to the WebUI. This also fixes a bug where, if messages were sent before the WebUI had fully initialized, we would fail to execute the Javascript, causing a CHECK failure. Bug: 952333 Change-Id: I0b3a5eb90f8993c6e19d52179b727e8784139bcc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1566618Reviewed-by:Varun Khaneja <vakh@chromium.org> Commit-Queue: Daniel Rubery <drubery@chromium.org> Cr-Commit-Position: refs/heads/master@{#650532}
Showing
Please register or sign in to comment