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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp

Issue 2670643004: Rename EDisplay values with k prefix. (Closed)
Patch Set: Rebase Created 3 years, 9 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/layout/svg/LayoutSVGResourceClipper.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
index 9f1fb9201df567fa242974b8b710d8451910ac56..3985c7628aaa347dcb060b235e98e7bb66431748 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
@@ -51,7 +51,7 @@ ClipStrategy determineClipStrategy(const SVGGraphicsElement& element) {
if (!layoutObject)
return ClipStrategy::None;
const ComputedStyle& style = layoutObject->styleRef();
- if (style.display() == EDisplay::None ||
+ if (style.display() == EDisplay::kNone ||
style.visibility() != EVisibility::kVisible)
return ClipStrategy::None;
ClipStrategy strategy = ClipStrategy::None;
@@ -71,7 +71,7 @@ ClipStrategy determineClipStrategy(const SVGElement& element) {
if (isSVGUseElement(element)) {
const LayoutObject* useLayoutObject = element.layoutObject();
if (!useLayoutObject ||
- useLayoutObject->styleRef().display() == EDisplay::None)
+ useLayoutObject->styleRef().display() == EDisplay::kNone)
return ClipStrategy::None;
const SVGGraphicsElement* shapeElement =
toSVGUseElement(element).visibleTargetGraphicsElementForClipping();

Powered by Google App Engine
This is Rietveld 408576698