Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / cc / test / skia_common.cc
index dfccd64..277a124 100644 (file)
@@ -25,7 +25,7 @@ void DrawPicture(unsigned char* buffer,
   picture->Raster(&canvas, NULL, layer_rect, 1.0f);
 }
 
-void CreateBitmap(gfx::Size size, const char* uri, SkBitmap* bitmap) {
+void CreateBitmap(const gfx::Size& size, const char* uri, SkBitmap* bitmap) {
   SkImageInfo info = {
     size.width(),
     size.height(),