Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index 0684a9c51ae441f1d4c560a8c9dd07ddc16bb780..2c17cacddcbdd00f172c948db14dd7d201a6e35c 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -638,7 +638,7 @@ void LayerTreeHost::SetDebugState(const LayerTreeDebugState& debug_state) { |
SetNeedsCommit(); |
} |
-void LayerTreeHost::SetViewportSize(gfx::Size device_viewport_size) { |
+void LayerTreeHost::SetViewportSize(const gfx::Size& device_viewport_size) { |
if (device_viewport_size == device_viewport_size_) |
return; |