Title: [111486] branches/chromium/1025/Source/WebCore/html/HTMLFrameElementBase.cpp
- Revision
- 111486
- Author
- [email protected]
- Date
- 2012-03-20 19:31:13 -0700 (Tue, 20 Mar 2012)
Log Message
Merge 111108
BUG=117550
Review URL: https://chromiumcodereview.appspot.com/9768010
Modified Paths
Diff
Modified: branches/chromium/1025/Source/WebCore/html/HTMLFrameElementBase.cpp (111485 => 111486)
--- branches/chromium/1025/Source/WebCore/html/HTMLFrameElementBase.cpp 2012-03-21 02:28:55 UTC (rev 111485)
+++ branches/chromium/1025/Source/WebCore/html/HTMLFrameElementBase.cpp 2012-03-21 02:31:13 UTC (rev 111486)
@@ -194,7 +194,8 @@
if (m_remainsAliveOnRemovalFromTree) {
updateOnReparenting();
- setRemainsAliveOnRemovalFromTree(false);
+ m_remainsAliveOnRemovalFromTree = false;
+ m_checkInDocumentTimer.stop();
return;
}
// DocumentFragments don't kick of any loads.
@@ -294,8 +295,10 @@
// Start the async timer that is normally stopped by attach(). If it's not stopped and fires, it'll unload the frame.
if (value)
m_checkInDocumentTimer.startOneShot(0);
- else
+ else {
m_checkInDocumentTimer.stop();
+ willRemove();
+ }
}
void HTMLFrameElementBase::checkInDocumentTimerFired(Timer<HTMLFrameElementBase>*)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes