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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.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/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 563591c7ed6ab3c377c0b381711440768132951e..ccdb21f74e64f34f066d531f49f72eab7c58e2f3 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
@@ -81,7 +81,7 @@ sk_sp<const SkPicture> LayoutSVGResourceMasker::createContentPicture(AffineTrans
if (!layoutObject)
continue;
const ComputedStyle* style = layoutObject->style();
- if (!style || style->display() == NONE || style->visibility() != EVisibility::Visible)
+ if (!style || style->display() == EDisplay::None || style->visibility() != EVisibility::Visible)
continue;
SVGPaintContext::paintSubtree(pictureBuilder.context(), layoutObject);
@@ -98,7 +98,7 @@ void LayoutSVGResourceMasker::calculateMaskContentPaintInvalidationRect()
if (!layoutObject)
continue;
const ComputedStyle* style = layoutObject->style();
- if (!style || style->display() == NONE || style->visibility() != EVisibility::Visible)
+ if (!style || style->display() == EDisplay::None || style->visibility() != EVisibility::Visible)
continue;
m_maskContentBoundaries.unite(layoutObject->localToSVGParentTransform().mapRect(layoutObject->paintInvalidationRectInLocalSVGCoordinates()));
}

Powered by Google App Engine
This is Rietveld 408576698