Chromium Code Reviews
Description[Remoting Android] Fix GetWeakPtr() calls on multiple threads
According to recent discovery of the thread safety issue of WeakPtrFactory,
WeakptrFactory::GetWeakPtr() can't be called on multiple threads. This CL
makes Android JNI classes that expose GetWeakPtr() function to store the
WeakPtr in constructor and simply return the stored WeakPtr in GetWeakPtr().
BUG=627602
Committed: https://crrev.com/bdbc56ba8839e6bb32a3677bf199234641f36806
Cr-Commit-Position: refs/heads/master@{#404948}
Patch Set 1 #
Messages
Total messages: 9 (3 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||