Consider changing WebStateObserverListBridge to hold weak references |
||
Issue descriptionI believe that it will be very common for a single object to both own the bridge and act as its target. To avoid accidental retain cycles in this common case, maybe it would be safer to use a WeakNSObject or __unsafe_unretained? This header file is also included from both ARC and non-ARC contexts, so the ivar should be explicitly labeled as __strong/__weak or scoped_nsobject/WeakNSObject.
,
May 31 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Apr 12 2017