DescriptionOilpan: Move WebFrameWidgetImpl into Oilpan heap.
The allocation and deallocation scheme of this class' instance is a bit
unusual, because these instances are passed to the Chromium side. The contract
between Chromium and us is basically: "call close() when you finish using it".
WebFrameWidgetImpl::create() calls leakRef() to keep the object alive, and
WebFrameWidgetImpl::close() does deref() to free up the object.
To mimic this keep-alive semantics in the Oilpan world, SelfKeepAlive<> is
used.
This patch fixes a raw pointer in WebFrameWidgetImpl.
BUG=509911
R=haraken@chromium.org, oilpan-reviews@chromium.org, sigbjornf@opera.com
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200800
Patch Set 1 #
Total comments: 2
Patch Set 2 : Clear more fields on close(). #
Messages
Total messages: 13 (4 generated)
|