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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.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/LayoutSVGResourceMasker.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
index e215ce3156aae6d3c37cb30bceb0b2aff7ba9707..7d1df3750e1e4dd19e07013cde2602fd1ea3cc96 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
@@ -88,7 +88,7 @@ sk_sp<const PaintRecord> LayoutSVGResourceMasker::createPaintRecord(
for (const SVGElement& childElement :
Traversal<SVGElement>::childrenOf(*element())) {
const LayoutObject* layoutObject = childElement.layoutObject();
- if (!layoutObject || layoutObject->styleRef().display() == EDisplay::None)
+ if (!layoutObject || layoutObject->styleRef().display() == EDisplay::kNone)
continue;
SVGPaintContext::paintResourceSubtree(builder.context(), layoutObject);
}
@@ -101,7 +101,7 @@ void LayoutSVGResourceMasker::calculateMaskContentVisualRect() {
for (const SVGElement& childElement :
Traversal<SVGElement>::childrenOf(*element())) {
const LayoutObject* layoutObject = childElement.layoutObject();
- if (!layoutObject || layoutObject->styleRef().display() == EDisplay::None)
+ if (!layoutObject || layoutObject->styleRef().display() == EDisplay::kNone)
continue;
m_maskContentBoundaries.unite(
layoutObject->localToSVGParentTransform().mapRect(

Powered by Google App Engine
This is Rietveld 408576698