Index: Source/core/rendering/ClipRect.h |
diff --git a/Source/core/rendering/ClipRect.h b/Source/core/rendering/ClipRect.h |
index 01feb663bbff74480b87076bef0aac0474f3e83c..603c4a84ceff51b10258b6e6f459554949c24279 100644 |
--- a/Source/core/rendering/ClipRect.h |
+++ b/Source/core/rendering/ClipRect.h |
@@ -138,7 +138,7 @@ public: |
return m_overflowClipRect == other.overflowClipRect() |
&& m_fixedClipRect == other.fixedClipRect() |
&& m_posClipRect == other.posClipRect() |
- && m_fixed == other.fixed(); |
+ && static_cast<bool>(m_fixed) == other.fixed(); |
Nico
2013/11/06 05:03:14
Hm, I'd probably either call functions on both lhs
Peter Kasting
2013/11/06 07:20:02
Yeah, calling accessors on both sides seems nice;
|
} |
ClipRects& operator=(const ClipRects& other) |