Commit ab581815 authored by jiayl's avatar jiayl Committed by Commit bot

Use SafeWrapCurrent to make sure JingleThreadWrapper ctor does not fail.

BUG=413853

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

Cr-Commit-Position: refs/heads/master@{#295997}
parent 48619afc
......@@ -57,7 +57,7 @@ JingleThreadWrapper::JingleThreadWrapper(
DCHECK(!rtc::Thread::Current());
weak_ptr_ = weak_ptr_factory_.GetWeakPtr();
rtc::MessageQueueManager::Add(this);
CHECK(WrapCurrent());
SafeWrapCurrent();
}
JingleThreadWrapper::~JingleThreadWrapper() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment