Changeset 173241 in webkit
- Timestamp:
- Sep 3, 2014 4:10:31 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r173240 r173241 1 2014-09-03 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Remove unnecessary function from TextPainter 4 https://bugs.webkit.org/show_bug.cgi?id=136497 5 6 Reviewed by Simon Fraser. 7 8 Function is never called. 9 10 No new tests because there is no behavior change. 11 12 * rendering/TextPainter.cpp: 13 (WebCore::TextPainter::paintTextInContext): Deleted. 14 * rendering/TextPainter.h: 15 1 16 2014-09-03 Anders Carlsson <andersca@apple.com> 2 17 -
trunk/Source/WebCore/rendering/TextPainter.cpp
r172156 r173241 169 169 } 170 170 171 void TextPainter::paintTextInContext(GraphicsContext& context, float amountToIncreaseStrokeWidthBy)172 {173 SavedDrawingStateForMask savedDrawingStateForMask = m_savedDrawingStateForMask;174 175 ASSERT(m_savedDrawingStateForMask.m_textPaintStyle);176 ASSERT(m_savedDrawingStateForMask.m_selectionPaintStyle);177 m_savedDrawingStateForMask.m_context = &context;178 m_savedDrawingStateForMask.m_textPaintStyle->strokeWidth += amountToIncreaseStrokeWidthBy;179 m_savedDrawingStateForMask.m_selectionPaintStyle->strokeWidth += amountToIncreaseStrokeWidthBy;180 m_savedDrawingStateForMask.m_textShadow = nullptr;181 m_savedDrawingStateForMask.m_selectionShadow = nullptr;182 paintText();183 184 m_savedDrawingStateForMask = savedDrawingStateForMask;185 }186 187 171 #if ENABLE(CSS3_TEXT_DECORATION_SKIP_INK) 188 172 DashArray TextPainter::dashesForIntersectionsWithRect(const FloatRect& lineExtents) -
trunk/Source/WebCore/rendering/TextPainter.h
r166929 r173241 67 67 68 68 void paintText(); 69 void paintTextInContext(GraphicsContext&, float amountToIncreaseStrokeWidthBy);70 69 71 70 DashArray dashesForIntersectionsWithRect(const FloatRect& lineExtents);
Note: See TracChangeset
for help on using the changeset viewer.