Index: cc/stubs/int_point.h |
diff --git a/cc/stubs/int_point.h b/cc/stubs/int_point.h |
index 2e39da6ef7667138c97a65fa181e729748795b95..068c6620a03598070f01a1e199b57f943791fb74 100644 |
--- a/cc/stubs/int_point.h |
+++ b/cc/stubs/int_point.h |
@@ -32,7 +32,11 @@ public: |
IntPoint(WebCore::IntPoint point) |
: WebCore::IntPoint(point.x(), point.y()) |
{ |
+ } |
+ explicit IntPoint(gfx::Point point) |
+ : WebCore::IntPoint(point.x(), point.y()) |
+ { |
} |
operator gfx::Point() const { return gfx::Point(x(), y()); } |