summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/rendering/style/BorderData.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/rendering/style/BorderData.h')
-rw-r--r--Source/WebCore/rendering/style/BorderData.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebCore/rendering/style/BorderData.h b/Source/WebCore/rendering/style/BorderData.h
index 0e50edb..26f089f 100644
--- a/Source/WebCore/rendering/style/BorderData.h
+++ b/Source/WebCore/rendering/style/BorderData.h
@@ -49,13 +49,13 @@ public:
bool hasBorderRadius() const
{
- if (m_topLeft.width().rawValue() > 0)
+ if (!m_topLeft.width().isZero())
return true;
- if (m_topRight.width().rawValue() > 0)
+ if (!m_topRight.width().isZero())
return true;
- if (m_bottomLeft.width().rawValue() > 0)
+ if (!m_bottomLeft.width().isZero())
return true;
- if (m_bottomRight.width().rawValue() > 0)
+ if (!m_bottomRight.width().isZero())
return true;
return false;
}