Index: third_party/WebKit/Source/core/paint/TextPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/TextPainter.cpp b/third_party/WebKit/Source/core/paint/TextPainter.cpp |
index 5ab63527dba5e36581f6d4b10075db8d59367f20..1a355f0cca2f9b3b994e0fb1816a66678cd4e133 100644 |
--- a/third_party/WebKit/Source/core/paint/TextPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/TextPainter.cpp |
@@ -218,7 +218,7 @@ void TextPainter::paintInternal(int startOffset, int endOffset, int truncationPo |
void TextPainter::paintEmphasisMarkForCombinedText() |
{ |
ASSERT(m_combinedText); |
- DEFINE_STATIC_LOCAL(TextRun, placeholderTextRun, (&ideographicFullStopCharacter, 1)); |
+ TextRun placeholderTextRun(&ideographicFullStopCharacter, 1); |
FloatPoint emphasisMarkTextOrigin(m_textBounds.x().toFloat(), m_textBounds.y().toFloat() + m_font.fontMetrics().ascent() + m_emphasisMarkOffset); |
TextRunPaintInfo textRunPaintInfo(placeholderTextRun); |
textRunPaintInfo.bounds = FloatRect(m_textBounds); |