Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / cc / output / software_output_device.cc
index 3e75e06..d066f4c 100644 (file)
@@ -17,7 +17,7 @@ SoftwareOutputDevice::SoftwareOutputDevice() {}
 
 SoftwareOutputDevice::~SoftwareOutputDevice() {}
 
-void SoftwareOutputDevice::Resize(gfx::Size viewport_size) {
+void SoftwareOutputDevice::Resize(const gfx::Size& viewport_size) {
   if (viewport_size_ == viewport_size)
     return;
 
@@ -48,8 +48,8 @@ void SoftwareOutputDevice::CopyToBitmap(
   bitmap.extractSubset(output, gfx::RectToSkIRect(rect));
 }
 
-void SoftwareOutputDevice::Scroll(
-    gfx::Vector2d delta, const gfx::Rect& clip_rect) {
+void SoftwareOutputDevice::Scroll(const gfx::Vector2d& delta,
+                                  const gfx::Rect& clip_rect) {
   NOTIMPLEMENTED();
 }