Changeset 24455 in webkit
- Timestamp:
- Jul 19, 2007 4:48:42 PM (17 years ago)
- Location:
- trunk/WebKitQt
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitQt/Api/qwebframe.cpp
r24406 r24455 232 232 return; 233 233 234 layout(); 235 236 GraphicsContext ctx(painter); 237 d->frameView->paint(&ctx, source); 238 } 239 240 void QWebFrame::layout() 241 { 234 242 if (d->frameView->needsLayout()) { 235 243 d->frameView->layout(); 236 244 } 237 245 238 GraphicsContext ctx(painter); 239 d->frameView->paint(&ctx, source); 246 foreach (QWebFrame *child, childFrames()) { 247 child->layout(); 248 } 240 249 } 241 250 -
trunk/WebKitQt/Api/qwebframe.h
r24406 r24455 70 70 71 71 void render(QPainter *painter, const QRect &source); 72 void layout(); 72 73 73 74 QPoint pos() const; -
trunk/WebKitQt/ChangeLog
r24422 r24455 1 2007-07-19 Adam Treat <treat@kde.org> 2 3 Reviewed by George. 4 5 Do a recursive layout on the frame's children. This fixes a 6 segfault found when rendering some framesets. 7 8 * Api/qwebframe.cpp: 9 (QWebFrame::render): 10 (QWebFrame::layout): 11 * Api/qwebframe.h: 12 1 13 2007-07-18 Timothy Hatcher <timothy@apple.com> 2 14
Note: See TracChangeset
for help on using the changeset viewer.