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

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

Issue 2614883007: Change computed style enums to be prefixed with 'k'. (Closed)
Patch Set: Rebase on ToT. Created 3 years, 11 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/SVGLayoutSupport.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
index f7019f84a3890eacf468ba3b00b4037660fa7a7c..f3d53286004d6b517e8bd6b7b738b2f7020c37e0 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
@@ -61,7 +61,7 @@ FloatRect SVGLayoutSupport::localVisualRect(const LayoutObject& object) {
DCHECK(!object.isSVGRoot());
// Return early for any cases where we don't actually paint
- if (object.styleRef().visibility() != EVisibility::Visible &&
+ if (object.styleRef().visibility() != EVisibility::kVisible &&
!object.enclosingLayer()->hasVisibleContent())
return FloatRect();

Powered by Google App Engine
This is Rietveld 408576698