summaryrefslogtreecommitdiffstats
path: root/cc/layers/heads_up_display_layer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/layers/heads_up_display_layer.cc')
-rw-r--r--cc/layers/heads_up_display_layer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/layers/heads_up_display_layer.cc b/cc/layers/heads_up_display_layer.cc
index ca63471..92486cc 100644
--- a/cc/layers/heads_up_display_layer.cc
+++ b/cc/layers/heads_up_display_layer.cc
@@ -21,7 +21,7 @@ HeadsUpDisplayLayer::HeadsUpDisplayLayer() {}
HeadsUpDisplayLayer::~HeadsUpDisplayLayer() {}
void HeadsUpDisplayLayer::PrepareForCalculateDrawProperties(
- const gfx::Size& device_viewport, float device_scale_factor) {
+ gfx::Size device_viewport, float device_scale_factor) {
gfx::Size device_viewport_in_layout_pixels = gfx::Size(
device_viewport.width() / device_scale_factor,
device_viewport.height() / device_scale_factor);