Changeset 240374 in webkit
- Timestamp:
- Jan 23, 2019, 5:21:01 PM (8 years ago)
- Location:
- branches/safari-607-branch/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-607-branch/Source/WebKit/ChangeLog
r240287 r240374 1 2019-01-23 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r240016. rdar://problem/47458249 4 5 Frequent null-deref under TiledCoreAnimationDrawingArea::scaleViewToFitDocumentIfNeeded() 6 https://bugs.webkit.org/show_bug.cgi?id=193468 7 <rdar://problem/38645869> 8 9 Reviewed by Beth Dakin. 10 11 * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm: 12 (WebKit::TiledCoreAnimationDrawingArea::scaleViewToFitDocumentIfNeeded): 13 I'm not sure why this got *worse*, but we should null-check RenderView. 14 It's OK to bail from scaleViewToFitDocumentIfNeeded, we'll re-do it 15 the next time we paint (which will surely happen if we gain a RenderView). 16 17 18 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240016 268f45cc-cd09-0410-ab3c-d52691b4dbfc 19 20 2019-01-15 Tim Horton <timothy_horton@apple.com> 21 22 Frequent null-deref under TiledCoreAnimationDrawingArea::scaleViewToFitDocumentIfNeeded() 23 https://bugs.webkit.org/show_bug.cgi?id=193468 24 <rdar://problem/38645869> 25 26 Reviewed by Beth Dakin. 27 28 * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm: 29 (WebKit::TiledCoreAnimationDrawingArea::scaleViewToFitDocumentIfNeeded): 30 I'm not sure why this got *worse*, but we should null-check RenderView. 31 It's OK to bail from scaleViewToFitDocumentIfNeeded, we'll re-do it 32 the next time we paint (which will surely happen if we gain a RenderView). 33 1 34 2019-01-22 Alan Coon <alancoon@apple.com> 2 35 -
branches/safari-607-branch/Source/WebKit/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm
r240286 r240374 313 313 return; 314 314 315 if (!m_webPage.mainFrameView()->renderView()) 316 return; 317 315 318 LOG(Resize, "TiledCoreAnimationDrawingArea %p scaleViewToFitDocumentIfNeeded", this); 316 319 m_webPage.layoutIfNeeded();
Note:
See TracChangeset
for help on using the changeset viewer.