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

Unified Diff: Source/core/rendering/RenderInline.cpp

Issue 645623003: Remove hack to suppress pseudo element names. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/RenderDeprecatedFlexibleBox.cpp ('k') | Source/core/rendering/RenderTreeAsText.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderInline.cpp
diff --git a/Source/core/rendering/RenderInline.cpp b/Source/core/rendering/RenderInline.cpp
index fba74af15fd588442cf326fbc897a97c48242d51..3af1f619a5cc0baf35c2100ad52707ea0e7e5795 100644
--- a/Source/core/rendering/RenderInline.cpp
+++ b/Source/core/rendering/RenderInline.cpp
@@ -772,17 +772,6 @@ const char* RenderInline::renderName() const
{
if (isRelPositioned())
return "RenderInline (relative positioned)";
- // FIXME: Cleanup isPseudoElement duplication with other renderName methods.
- // crbug.com/415653
- if (style() && isPseudoElement()) {
- if (style()->styleType() == BEFORE)
- return "RenderInline (pseudo:before)";
- if (style()->styleType() == AFTER)
- return "RenderInline (pseudo:after)";
- if (style()->styleType() == BACKDROP)
- return "RenderInline (pseudo:backdrop)";
- ASSERT_NOT_REACHED();
- }
if (isAnonymous())
return "RenderInline (generated)";
return "RenderInline";
« no previous file with comments | « Source/core/rendering/RenderDeprecatedFlexibleBox.cpp ('k') | Source/core/rendering/RenderTreeAsText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698