Index: cc/stubs/float_size.h |
diff --git a/cc/stubs/float_size.h b/cc/stubs/float_size.h |
index acbd5daa41a373110f5be93d0a0105095a9da60d..d58fb4232445ce41345f68c2adee6c340bd1d9d5 100644 |
--- a/cc/stubs/float_size.h |
+++ b/cc/stubs/float_size.h |
@@ -38,6 +38,11 @@ public: |
{ |
} |
+ explicit FloatSize(gfx::SizeF size) |
+ : WebCore::FloatSize(size.width(), size.height()) |
+ { |
+ } |
+ |
operator gfx::SizeF() const { return gfx::SizeF(width(), height()); } |
}; |