Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Issue 18358002: Simplify SVGTextContentElement::elementFromRenderer() (Closed)

Created:
7 years, 5 months ago by do-not-use
Modified:
7 years, 5 months ago
Reviewers:
Stephen Chennney, krit, pdr.
CC:
blink-reviews, pdr, eae+blinkwatch, Stephen Chennney, f(malita), dglazkov+blink, lgombos
Visibility:
Public.

Description

Simplify SVGTextContentElement::elementFromRenderer() Simplify SVGTextContentElement::elementFromRenderer() by leveraging SVGElement::isTextContent() methods instead of explicitly checking for tag names. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153348

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -12 lines) Patch
M Source/core/svg/SVGTextContentElement.cpp View 1 chunk +5 lines, -12 lines 3 comments Download

Messages

Total messages: 6 (0 generated)
do-not-use
7 years, 5 months ago (2013-07-01 13:31:03 UTC) #1
Stephen Chennney
Just one nit. https://codereview.chromium.org/18358002/diff/1/Source/core/svg/SVGTextContentElement.cpp File Source/core/svg/SVGTextContentElement.cpp (left): https://codereview.chromium.org/18358002/diff/1/Source/core/svg/SVGTextContentElement.cpp#oldcode305 Source/core/svg/SVGTextContentElement.cpp:305: ASSERT(node); Leave these 2 lines. We ...
7 years, 5 months ago (2013-07-01 13:55:16 UTC) #2
do-not-use
https://codereview.chromium.org/18358002/diff/1/Source/core/svg/SVGTextContentElement.cpp File Source/core/svg/SVGTextContentElement.cpp (left): https://codereview.chromium.org/18358002/diff/1/Source/core/svg/SVGTextContentElement.cpp#oldcode305 Source/core/svg/SVGTextContentElement.cpp:305: ASSERT(node); On 2013/07/01 13:55:16, Stephen Chenney wrote: > Leave ...
7 years, 5 months ago (2013-07-01 13:58:59 UTC) #3
Stephen Chennney
lgtm https://codereview.chromium.org/18358002/diff/1/Source/core/svg/SVGTextContentElement.cpp File Source/core/svg/SVGTextContentElement.cpp (left): https://codereview.chromium.org/18358002/diff/1/Source/core/svg/SVGTextContentElement.cpp#oldcode305 Source/core/svg/SVGTextContentElement.cpp:305: ASSERT(node); You're right. That's what I get for ...
7 years, 5 months ago (2013-07-01 14:09:54 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/18358002/1
7 years, 5 months ago (2013-07-01 14:10:14 UTC) #5
commit-bot: I haz the power
7 years, 5 months ago (2013-07-01 15:33:29 UTC) #6
Message was sent while issue was closed.
Change committed as 153348

Powered by Google App Engine
This is Rietveld 408576698