gfx::ToRoundedInt(rect_f.height()));
}
-void NinePatchLayerLayoutTest(gfx::Size bitmap_size,
+void NinePatchLayerLayoutTest(const gfx::Size& bitmap_size,
const gfx::Rect& aperture_rect,
- gfx::Size layer_size,
+ const gfx::Size& layer_size,
const gfx::Rect& border,
bool fill_center,
size_t expected_quad_size) {