Add thread check to GetExecutionContext |
|
Issue description1. SuspendableObject::GetExecutionContext should be called only from the main thread. Add DCHECK to check that the thread is the main thread. 2. ContextLifecycleObserver::GetExecutionContext should be called only from the thread that creates the ContextLifecycleObserver. Add DCHECK to check the thread is appropriate. |
|
►
Sign in to add a comment |
|
Comment 1 by hajimehoshi@chromium.org
, Nov 1 2017