Index: Source/platform/geometry/LayoutRect.h |
diff --git a/Source/platform/geometry/LayoutRect.h b/Source/platform/geometry/LayoutRect.h |
index 7af11a365ff5a928fcad80aeca663dbc611c2c87..d69671fb2b656c12d89a5d19adf6d7d6ceb176ea 100644 |
--- a/Source/platform/geometry/LayoutRect.h |
+++ b/Source/platform/geometry/LayoutRect.h |
@@ -49,7 +49,7 @@ public: |
: m_location(LayoutPoint(x, y)), m_size(LayoutSize(width, height)) { } |
LayoutRect(const FloatPoint& location, const FloatSize& size) |
: m_location(location), m_size(size) { } |
- LayoutRect(const IntRect& rect) : m_location(rect.location()), m_size(rect.size()) { } |
+ explicit LayoutRect(const IntRect& rect) : m_location(rect.location()), m_size(rect.size()) { } |
explicit LayoutRect(const FloatRect&); // don't do this implicitly since it's lossy |