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

Unified Diff: third_party/WebKit/Source/core/paint/ObjectPainter.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/paint/ObjectPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/ObjectPainter.cpp b/third_party/WebKit/Source/core/paint/ObjectPainter.cpp
index f716d17045d1717f67da7ce04baf944aa4574870..d34c512ddffa4679c0cfa1c47df3382e38a0c735 100644
--- a/third_party/WebKit/Source/core/paint/ObjectPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/ObjectPainter.cpp
@@ -223,7 +223,7 @@ void ObjectPainter::paintOutline(const PaintInfo& paintInfo,
const ComputedStyle& styleToUse = m_layoutObject.styleRef();
if (!styleToUse.hasOutline() ||
- styleToUse.visibility() != EVisibility::Visible)
+ styleToUse.visibility() != EVisibility::kVisible)
return;
// Only paint the focus ring by hand if the theme isn't able to draw the focus
@@ -304,7 +304,7 @@ void ObjectPainter::addPDFURLRectIfNeeded(const PaintInfo& paintInfo,
DCHECK(paintInfo.isPrinting());
if (m_layoutObject.isElementContinuation() || !m_layoutObject.node() ||
!m_layoutObject.node()->isLink() ||
- m_layoutObject.styleRef().visibility() != EVisibility::Visible)
+ m_layoutObject.styleRef().visibility() != EVisibility::kVisible)
return;
KURL url = toElement(m_layoutObject.node())->hrefURL();
« no previous file with comments | « third_party/WebKit/Source/core/paint/MultiColumnSetPainter.cpp ('k') | third_party/WebKit/Source/core/paint/PaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698