DescriptionFix a bug where the JavaBridgeDispatcherHost is prematurely deleted
JavaBridgeDispatcherHost must be ref-counted because it is used with
base::Bind. http://codereview.chromium.org/8834013 changed
JavaBridgeDispatcherHost to also inherit from RenderViewHostObserver. The base
implementation of RenderViewHostObserver::RenderViewHostDestroyed() deletes the
object. This is unwanted in this class, so we provide an empy implementation of
the method.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114218
Patch Set 1 #
Total comments: 7
Patch Set 2 : Fixed comment #
Messages
Total messages: 7 (0 generated)
|