DescriptionWebPrivatePtr: avoid creating temporary Persistent<> on assignment.
For RefCountedGarbageCollected objects wrapped in a WebPrivatePtr, the
PtrStorageImpl::assign(PassRefPtr<T>) overload potentially created a
Persistent on assigning its underlying raw pointer, even if a RawPtr<>
was passed along (due to the implicit RawPtr<T> conversion that
PassRefPtr<T> provides.)
This assign() overload serves no real purpose with Oilpan enabled;
provide a more appropriate RawPtr<T> version there.
R=haraken@chromium.org,tkent@chromium.org
BUG=357163
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175558
Patch Set 1 #Patch Set 2 : Add #ifdef #Patch Set 3 : Use a transition type #Messages
Total messages: 11 (0 generated)
|