Description[Mac] Retain a reference within a scoped_nsobject of a Page Action's context menu.
The problem was that the menu was being dealloc'd upon selection of the 'Uninstall' option, which asynchonously loads the extension's icon. Upon deallocation, the ImageTracker was also being destructed and the loading cancelled, leaving OnImageLoad to never be called.
BUG=40233
TEST=see bug for repro steps. should be able to uninstall page actions through their context menus.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=56532
Patch Set 1 #
Total comments: 1
Patch Set 2 : Fixed extra retain. #
Trybot results:
Messages
Total messages: 4 (0 generated)
|
||||||||||||||||||||||||||||