 Chromium Code Reviews
 Chromium Code Reviews Issue 
            148223009:
    Ensure calling Close and set_listener(NULL) on End().  (Closed)
    
  
    Issue 
            148223009:
    Ensure calling Close and set_listener(NULL) on End().  (Closed) 
  | DescriptionEnsure calling Close and set_listener(NULL) on End().
WebContentsImpl's dtor calls End() but it may not cause
set_listener(NULL) in some case, which may cause a use-after-free.
This CL always reset them at End(). This would mean
DidEndColorChooser() may be called twice, so web_contents_
has to be reset to NULL once DidEndColorChooser() is called.
BUG=338464
R=keishi@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247917
   Patch Set 1 #Patch Set 2 : fix #
      Total comments: 2
      
     Messages
    Total messages: 11 (0 generated)
     |