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

Unified Diff: third_party/WebKit/Source/core/svg/SVGGElement.cpp

Issue 2370673002: Changed EDisplay to an enum class and renamed its members to be keywords (Closed)
Patch Set: Comment Created 4 years, 3 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
Index: third_party/WebKit/Source/core/svg/SVGGElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGGElement.cpp b/third_party/WebKit/Source/core/svg/SVGGElement.cpp
index e0efa8255825dbdb1b0f0a636624b19bbd6dfb1f..320935bf0fbb050557fb3459581e332c1899ea68 100644
--- a/third_party/WebKit/Source/core/svg/SVGGElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGGElement.cpp
@@ -39,7 +39,7 @@ LayoutObject* SVGGElement::createLayoutObject(const ComputedStyle& style)
// We still have to create layoutObjects for the <g> & <linearGradient> element, though the
// subtree may be hidden - we only want the resource layoutObjects to exist so they can be
// referenced from somewhere else.
- if (style.display() == NONE)
+ if (style.display() == EDisplay::None)
return new LayoutSVGHiddenContainer(this);
return new LayoutSVGTransformableContainer(this);

Powered by Google App Engine
This is Rietveld 408576698