https://bugs.webkit.org/show_bug.cgi?id=124292
Patch by Myles C. Maxfield <mmaxfield@apple.com> on 2013-11-13
Reviewed by Tim Horton.
New tests are unnecessary since there is no behavior change
* rendering/TextPainter.cpp:
(WebCore::TextPainter::paintText):
* rendering/TextPainter.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@159214
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2013-11-13 Myles C. Maxfield <mmaxfield@apple.com>
+
+ Delete unused TextPainter function
+ https://bugs.webkit.org/show_bug.cgi?id=124292
+
+ Reviewed by Tim Horton.
+
+ New tests are unnecessary since there is no behavior change
+
+ * rendering/TextPainter.cpp:
+ (WebCore::TextPainter::paintText):
+ * rendering/TextPainter.h:
+
2013-11-13 Alexey Proskuryakov <ap@apple.com>
Check WebCrypto parameter types when casting
ASSERT(m_savedDrawingStateForMask.m_textPaintStyle);
ASSERT(m_savedDrawingStateForMask.m_selectionPaintStyle);
- FloatPoint boxOrigin = boxRect().location();
+ FloatPoint boxOrigin = m_boxRect.location();
if (!m_paintSelectedTextOnly) {
// For stroked painting, we have to change the text drawing mode. It's probably dangerous to leave that mutated as a side
TextRun&, FloatRect& boxRect, FloatPoint& textOrigin, int emphasisMarkOffset, const ShadowData* textShadow, const ShadowData* selectionShadow,
bool textBoxIsHorizontal, TextPaintStyle& nonSelectionPaintStyle, TextPaintStyle& selectionPaintStyle);
- const FloatRect& boxRect() const { return m_boxRect; }
void paintText();
void paintTextInContext(GraphicsContext&, float amountToIncreaseStrokeWidthBy);