X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fui%2Fgfx%2Fgeometry%2Fsize_f.h;h=5763d197f48d3c96cc5e346cb701ebd13b80d7fc;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=8ec5628e62d1203f2ee93d4557b7c043c29138e1;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/ui/gfx/geometry/size_f.h b/src/ui/gfx/geometry/size_f.h index 8ec5628..5763d19 100644 --- a/src/ui/gfx/geometry/size_f.h +++ b/src/ui/gfx/geometry/size_f.h @@ -5,6 +5,7 @@ #ifndef UI_GFX_GEOMETRY_SIZE_F_H_ #define UI_GFX_GEOMETRY_SIZE_F_H_ +#include #include #include "base/compiler_specific.h" @@ -49,6 +50,11 @@ inline SizeF ScaleSize(const SizeF& p, float scale) { extern template class SizeBase; #endif +// This is declared here for use in gtest-based unit tests but is defined in +// the gfx_test_support target. Depend on that to use this in your unit test. +// This should not be used in production code - call ToString() instead. +void PrintTo(const SizeF& size, ::std::ostream* os); + } // namespace gfx #endif // UI_GFX_GEOMETRY_SIZE_F_H_