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

Unified Diff: Source/core/rendering/RenderBlock.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 | « LayoutTests/TestExpectations ('k') | Source/core/rendering/RenderDeprecatedFlexibleBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderBlock.cpp
diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp
index bd9bb6cc6548a3065c7c540fb6adc05bc6e1cc33..ba36d5e58e0d7e3e61f1f38c6139ebbc3b209216 100644
--- a/Source/core/rendering/RenderBlock.cpp
+++ b/Source/core/rendering/RenderBlock.cpp
@@ -4188,17 +4188,6 @@ const char* RenderBlock::renderName() const
return "RenderBlock (anonymous multi-column span)";
if (isAnonymousBlock())
return "RenderBlock (anonymous)";
- // FIXME: Cleanup isPseudoElement duplication with other renderName methods.
- // crbug.com/415653
- if (isPseudoElement()) {
- if (style()->styleType() == BEFORE)
- return "RenderBlock (pseudo:before)";
- if (style()->styleType() == AFTER)
- return "RenderBlock (pseudo:after)";
- if (style()->styleType() == BACKDROP)
- return "RenderBlock (pseudo:backdrop)";
- ASSERT_NOT_REACHED();
- }
}
if (isAnonymous())
return "RenderBlock (generated)";
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/rendering/RenderDeprecatedFlexibleBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698