Changeset 25488 in webkit
- Timestamp:
- Sep 10, 2007 10:33:56 PM (17 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r25487 r25488 1 2007-09-11 George Staikos <staikos@kde.org> 2 3 Reviewed by Anders. 4 5 Work around gcc bug with some old gcc versions. 6 7 * platform/qt/WidgetQt.cpp: 8 (WebCore::Widget::convertToContainingWindow): 9 (WebCore::Widget::convertFromContainingWindow): 10 1 11 2007-09-10 Mitz Pettel <mitz@webkit.org> 2 12 -
trunk/WebCore/platform/qt/WidgetQt.cpp
r24814 r25488 244 244 for (const Widget *parentWidget = parent(), *childWidget = this; 245 245 parentWidget; 246 childWidget = parentWidget, parentWidget = parentWidget->parent()) 247 windowPoint = parentWidget->convertChildToSelf(childWidget, windowPoint); 246 childWidget = parentWidget, parentWidget = parentWidget->parent()) { 247 IntPoint oldPoint = windowPoint; 248 windowPoint = parentWidget->convertChildToSelf(childWidget, oldPoint); 249 } 248 250 return windowPoint; 249 251 } … … 254 256 for (const Widget *parentWidget = parent(), *childWidget = this; 255 257 parentWidget; 256 childWidget = parentWidget, parentWidget = parentWidget->parent()) 257 widgetPoint = parentWidget->convertSelfToChild(childWidget, widgetPoint); 258 childWidget = parentWidget, parentWidget = parentWidget->parent()) { 259 IntPoint oldPoint = widgetPoint; 260 widgetPoint = parentWidget->convertSelfToChild(childWidget, oldPoint); 261 } 258 262 return widgetPoint; 259 263 }
Note: See TracChangeset
for help on using the changeset viewer.