Index: chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc |
diff --git a/chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc b/chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc |
index 48739c8662d3c46dbf8d6c72b5b270c8848a7974..4b928c2e0e65093068dc66f7f86eece14038e67a 100644 |
--- a/chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc |
+++ b/chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc |
@@ -250,7 +250,7 @@ void CardUnmaskPromptViews::Layout() { |
// The progress overlay extends from the top of the input row |
// to the bottom of the content area. |
- gfx::RectF input_rect = input_row_->GetContentsBounds(); |
+ gfx::RectF input_rect = gfx::RectF(input_row_->GetContentsBounds()); |
View::ConvertRectToTarget(input_row_, this, &input_rect); |
input_rect.set_height(contents_bounds.height()); |
contents_bounds.Intersect(gfx::ToNearestRect(input_rect)); |