Fix flakyness in PrefMemberTest::MoveToThread

 In MoveToThread, a thread object is owned by a ref-counted object that
is passed around thread. It means the thread object can be deleted on
a thread that is not the one that created it, which will trigger a
DCHECK. This CL ensures that the second thread is always stopped on the main
thread.

R=battre@chromium.org
BUG=None


Review URL: https://chromiumcodereview.appspot.com/11624023

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174390 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 8dda17e4af70393f93d8f29c1e574907ebac53b8
1 file changed
tree: 8f1b011ad4b074905fba54e9f3605490c5dbd4f4
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/