Changeset 143335 in webkit
- Timestamp:
- Feb 19, 2013 8:26:25 AM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r143332 r143335 1 2013-02-19 Andras Becsi <andras.becsi@digia.com> 2 3 [Qt][WK2] ASSERT(node) hit in WebPage::findZoomableAreaForPoint if no zoomable area found 4 https://bugs.webkit.org/show_bug.cgi?id=110220 5 6 Reviewed by Allan Sandfeld Jensen. 7 8 If EventHandler::bestZoomableAreaForTouchPoint was unsuccessfull, eg. 9 no node was found for a given point, we hit ASSERT(node). 10 We should only assert for a valid node if a zoomable area was found. 11 12 * WebProcess/WebPage/WebPage.cpp: 13 (WebKit::WebPage::findZoomableAreaForPoint): 14 1 15 2013-02-19 Christophe Dumez <ch.dumez@sisa.samsung.com> 2 16 -
trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp
r142977 r143335 3016 3016 IntRect zoomableArea; 3017 3017 bool foundAreaForTouchPoint = m_mainFrame->coreFrame()->eventHandler()->bestZoomableAreaForTouchPoint(point, IntSize(area.width() / 2, area.height() / 2), zoomableArea, node); 3018 3019 if (!foundAreaForTouchPoint) 3020 return; 3021 3018 3022 ASSERT(node); 3019 3020 if (!foundAreaForTouchPoint)3021 return;3022 3023 3023 3024 if (node->document() && node->document()->view())
Note: See TracChangeset
for help on using the changeset viewer.