Changeset 240016 in webkit
- Timestamp:
- Jan 15, 2019 3:55:36 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r240015 r240016 1 2019-01-15 Tim Horton <timothy_horton@apple.com> 2 3 Frequent null-deref under TiledCoreAnimationDrawingArea::scaleViewToFitDocumentIfNeeded() 4 https://bugs.webkit.org/show_bug.cgi?id=193468 5 <rdar://problem/38645869> 6 7 Reviewed by Beth Dakin. 8 9 * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm: 10 (WebKit::TiledCoreAnimationDrawingArea::scaleViewToFitDocumentIfNeeded): 11 I'm not sure why this got *worse*, but we should null-check RenderView. 12 It's OK to bail from scaleViewToFitDocumentIfNeeded, we'll re-do it 13 the next time we paint (which will surely happen if we gain a RenderView). 14 1 15 2019-01-15 Chris Dumez <cdumez@apple.com> 2 16 -
trunk/Source/WebKit/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm
r240015 r240016 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.