Changeset 65776 in webkit
- Timestamp:
- Aug 21, 2010 1:33:25 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r65775 r65776 1 2010-08-21 Ariya Hidayat <ariya@sencha.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] Faster bounding rect for the shadow clip region 6 https://bugs.webkit.org/show_bug.cgi?id=44369 7 8 Like in r65650, we should use the faster QPainter::clipBoundingRect 9 when it is available. 10 11 * platform/graphics/qt/ContextShadow.cpp: 12 (WebCore::ContextShadow::drawShadowRect): 13 1 14 2010-08-20 Girish Ramakrishnan <girish@forwardbias.in> 2 15 -
trunk/WebCore/platform/graphics/qt/ContextShadow.cpp
r65654 r65776 284 284 QRect clipRect; 285 285 if (p->hasClipping()) 286 #if QT_VERSION >= QT_VERSION_CHECK(4, 8, 0) 287 clipRect = p->clipBoundingRect(); 288 #else 286 289 clipRect = p->clipRegion().boundingRect(); 290 #endif 287 291 else 288 292 clipRect = p->transform().inverted().mapRect(p->window());
Note: See TracChangeset
for help on using the changeset viewer.