Commit 5f1ccd4b authored by beidson@apple.com's avatar beidson@apple.com

Possible crash in ProgressTracker::progressHeartbeatTimerFired(Timer<ProgressTracker>*)

https://bugs.webkit.org/show_bug.cgi?id=125110

Reviewed by Darin Adler.

FrameLoader::loadProgressingStatusChanged() might be called while the Frame has a null FrameView.

It’s unclear how to reproduce, but there’s no harm in a null check.

* loader/FrameLoader.cpp:
(WebCore::FrameLoader::loadProgressingStatusChanged):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159986 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 8723db29
......@@ -74,6 +74,20 @@
* crypto/algorithms/CryptoAlgorithmHMAC.cpp:
(WebCore::CryptoAlgorithmHMAC::keyAlgorithmMatches): Check it.
2013-12-02 Brady Eidson <beidson@apple.com>
Possible crash in ProgressTracker::progressHeartbeatTimerFired(Timer<ProgressTracker>*)
https://bugs.webkit.org/show_bug.cgi?id=125110
Reviewed by Darin Adler.
FrameLoader::loadProgressingStatusChanged() might be called while the Frame has a null FrameView.
It’s unclear how to reproduce, but there’s no harm in a null check.
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::loadProgressingStatusChanged):
2013-12-02 Brady Eidson <beidson@apple.com>
Possible crash in ProgressTracker::progressHeartbeatTimerFired(Timer<ProgressTracker>*)
......@@ -3380,6 +3380,9 @@ NetworkingContext* FrameLoader::networkingContext() const
void FrameLoader::loadProgressingStatusChanged()
{
FrameView* view = m_frame.mainFrame().view();
if (!view)
return;
view->updateLayerFlushThrottlingInAllFrames();
view->adjustTiledBackingCoverage();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment