Changeset 127326 in webkit
- Timestamp:
- Aug 31, 2012, 3:17:03 PM (13 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/Api/WebPage.cpp
r127325 r127326 3691 3691 setShouldResetTilesWhenShown(true); 3692 3692 3693 bool needsLayout = false;3694 3693 bool hasPendingOrientation = m_pendingOrientation != -1; 3695 3694 … … 3697 3696 resizeSurfaceIfNeeded(); 3698 3697 m_hasPendingSurfaceSizeChange = false; 3699 }3700 if (!hasPendingOrientation) {3701 // If we are not rotating and we've started a viewport resize with3702 // the Render tree in dirty state (i.e. it needs layout), lets3703 // reset the needsLayout flag for now but set our own 'needsLayout'.3704 //3705 // Reason: calls like ScrollView::setFixedLayoutSize can trigger a layout3706 // if the render tree needs it. We want to avoid it till the viewport resize3707 // is actually done (i.e. ScrollView::setViewportSize gets called3708 // further down the method).3709 if (m_mainFrame->view()->needsLayout()) {3710 m_mainFrame->view()->unscheduleRelayout();3711 m_mainFrame->contentRenderer()->setNeedsLayout(false);3712 needsLayout = true;3713 }3714 3698 } 3715 3699 … … 3737 3721 3738 3722 // Recompute our virtual viewport. 3723 bool needsLayout = false; 3739 3724 static ViewportArguments defaultViewportArguments; 3740 3725 if (m_viewportArguments != defaultViewportArguments) { -
trunk/Source/WebKit/blackberry/ChangeLog
r127325 r127326 1 2012-08-31 Jacky Jiang <zhajiang@rim.com> 2 3 [BlackBerry] ASSERT failure in RenderBlock::checkPositionedObjectsNeedLayout 4 https://bugs.webkit.org/show_bug.cgi?id=95611 5 6 Reviewed by Antonio Gomes. 7 8 PR:200127 9 Remove r118405 now as we already have a new fix webkit/43f8394b for 10 that issue and it is not reproducible anymore after the removal. 11 In this way, we can get rid of this ASSERT failure as well. 12 Thanks Antonio for the suggestion. 13 14 * Api/WebPage.cpp: 15 (BlackBerry::WebKit::WebPagePrivate::setViewportSize): 16 1 17 2012-08-31 Joshua Netterfield <jnetterfield@rim.com> 2 18
Note:
See TracChangeset
for help on using the changeset viewer.