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

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

Issue 2542843002: Changed EPointerEvents to an enum class and renamed its members to keywords (Closed)
Patch Set: Created 4 years 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/SVGSVGElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
index a08056bfca98312c020b18fb64f8a2c29443c2ca..0ac30e3c637c6b3044467efba07b6bba4da63601 100644
--- a/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
@@ -329,7 +329,8 @@ bool SVGSVGElement::checkIntersectionOrEnclosure(
CheckIntersectionOrEnclosure mode) const {
LayoutObject* layoutObject = element.layoutObject();
ASSERT(!layoutObject || layoutObject->style());
- if (!layoutObject || layoutObject->style()->pointerEvents() == PE_NONE)
+ if (!layoutObject ||
+ layoutObject->style()->pointerEvents() == EPointerEvents::PE_NONE)
return false;
if (!isIntersectionOrEnclosureTarget(layoutObject))
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyleConstants.h ('k') | third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698