widthMediaFeatureEval ends up with null FrameView during iframe unload.
authorRyuan Choi <ryuan.choi@samsung.com>
Thu, 12 Sep 2013 05:33:04 +0000 (14:33 +0900)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Thu, 12 Sep 2013 06:05:11 +0000 (06:05 +0000)
commit2a072a0bb32899c8bca0d19bcba3f8b762346364
tree9984371e90f112b66b43ab47efbf7d207933e401
parent5e641a6bdb904d50c817c32a201be7f725abf6bd
widthMediaFeatureEval ends up with null FrameView during iframe unload.

[Title] widthMediaFeatureEval ends up with null FrameView during iframe unload.
[Issue#] N_SE-51174
[Problem] Crash while loading mashable.com
[Cause] While frames are being unloaded, the Frame object does not necessarily have valid
        FrameView anymore. Layout on the main frame can end up querying media values on such child
        frames, while detaching.
[Solution] Manually cherry-picked from https://bugs.webkit.org/show_bug.cgi?id=117754

Change-Id: Ia591e5c978279ac58c1e4cc4fa900a6ef4ba7d77
Source/WebCore/css/MediaQueryEvaluator.cpp