Changeset 54347 in webkit
- Timestamp:
- Feb 4, 2010 9:43:17 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r54345 r54347 1 2010-02-04 Ariya Hidayat <ariya.hidayat@gmail.com> 2 3 Reviewed by Simon Hausmann. 4 5 [Qt] Unnecessary QBrush construction for doing a solid fill 6 https://bugs.webkit.org/show_bug.cgi?id=34559 7 8 Use the similar trick like r37421, i.e. use the special brush for 9 solid color to avoid creating QBrush again and again. 10 11 * platform/graphics/qt/GraphicsContextQt.cpp: 12 (WebCore::GraphicsContext::setPlatformFillColor): 13 1 14 2010-02-04 Dan Bernstein <mitz@apple.com> 2 15 -
trunk/WebCore/platform/graphics/qt/GraphicsContextQt.cpp
r54137 r54347 1271 1271 if (paintingDisabled()) 1272 1272 return; 1273 m_data->p()->setBrush(QBrush(color)); 1273 m_data->solidColor.setColor(color); 1274 m_data->p()->setBrush(m_data->solidColor); 1274 1275 } 1275 1276
Note: See TracChangeset
for help on using the changeset viewer.