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

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

Issue 2181953004: Changed ComputedStyle's EVisibility to be an enum class and fixed naming (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_move_computedstyle_around
Patch Set: Rebase Created 4 years, 4 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/SVGUseElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
index c8a31ffc6b6fb0985d4c0af31856dc2716b35632..538be626e772cab441057c370ac76cad2ca6040e 100644
--- a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
@@ -515,7 +515,7 @@ SVGGraphicsElement* SVGUseElement::visibleTargetGraphicsElementForClipping() con
return nullptr;
const ComputedStyle* style = element.layoutObject()->style();
- if (!style || style->visibility() != VISIBLE)
+ if (!style || style->visibility() != EVisibility::Visible)
return nullptr;
// Spec: "If a <use> element is a child of a clipPath element, it must directly

Powered by Google App Engine
This is Rietveld 408576698