Changeset 163001 in webkit
- Timestamp:
- Jan 28, 2014 9:22:38 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r163000 r163001 1 2014-01-28 Ian Henderson <ianh@apple.com> 2 3 [iOS] UI process crashes whenever web process crashes 4 https://bugs.webkit.org/show_bug.cgi?id=127826 5 6 Reviewed by Tim Horton. 7 8 * UIProcess/API/ios/WKContentView.mm: 9 (-[WKContentView _updateFixedPositionRect]): Null-check the drawing 10 area before calling size() on it. 11 1 12 2014-01-28 Ian Henderson <ianh@apple.com> 2 13 -
trunk/Source/WebKit2/UIProcess/API/ios/WKContentView.mm
r162882 r163001 196 196 - (void)_updateFixedPositionRect 197 197 { 198 FloatRect exposedRect(_currentExposedRectPosition, _page->drawingArea()->size()); 198 auto drawingArea = _page->drawingArea(); 199 if (!drawingArea) 200 return; 201 FloatRect exposedRect(_currentExposedRectPosition, drawingArea->size()); 199 202 FloatRect fixedPosRect = [self fixedPositionRectFromExposedRect:exposedRect scale:_page->pageScaleFactor()]; 200 201 if (auto drawingArea = _page->drawingArea()) 202 drawingArea->setCustomFixedPositionRect(fixedPosRect); 203 drawingArea->setCustomFixedPositionRect(fixedPosRect); 203 204 } 204 205
Note: See TracChangeset
for help on using the changeset viewer.