Changeset 203910 in webkit
- Timestamp:
- Jul 29, 2016 11:47:52 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r203904 r203910 1 2016-07-29 Mark Lam <mark.lam@apple.com> 2 3 Remove an unused line of code. 4 https://bugs.webkit.org/show_bug.cgi?id=160350 5 6 Reviewed by Simon Fraser. 7 8 No new tests because there's no behavior change. Just removing dead code. 9 10 SVGInlineTextBox::paintText() instantiates a local variable selectionTextRun. 11 Thanks to analysis by Said Abou-Hallawa, we know that selectionTextRun 12 was introduced in https://trac.webkit.org/changeset/61393, but was later 13 rendered unused in https://trac.webkit.org/changeset/62099 because we 14 switched to using paintTextWithShadows() with the selectionStyle. Hence, 15 selectionTextRun can be removed. 16 17 * rendering/svg/SVGInlineTextBox.cpp: 18 (WebCore::SVGInlineTextBox::paintText): 19 1 20 2016-07-29 Eric Carlson <eric.carlson@apple.com> 2 21 -
trunk/Source/WebCore/rendering/svg/SVGInlineTextBox.cpp
r200098 r203910 613 613 SVGResourcesCache::clientStyleChanged(parent()->renderer(), StyleDifferenceRepaint, *selectionStyle); 614 614 615 TextRun selectionTextRun = constructTextRun(selectionStyle, fragment);616 615 paintTextWithShadows(context, selectionStyle, textRun, fragment, startPosition, endPosition); 617 616
Note: See TracChangeset
for help on using the changeset viewer.