Index: ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc |
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc |
index b53fc7f650ce8b7672395746d8892c74a61ff4ee..a5e41d9089928ab5e14ca3f34ecdbc16661f8669 100644 |
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc |
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc |
@@ -57,7 +57,7 @@ gfx::Size GetExpandedWindowSize(DWORD window_style, gfx::Size size) { |
return expanded; |
} |
-void InsetBottomRight(gfx::Rect* rect, gfx::Vector2d vector) { |
+void InsetBottomRight(gfx::Rect* rect, const gfx::Vector2d& vector) { |
rect->Inset(0, 0, vector.x(), vector.y()); |
} |