| Index: chrome/browser/ui/views/passwords/credentials_item_view.cc
|
| diff --git a/chrome/browser/ui/views/passwords/credentials_item_view.cc b/chrome/browser/ui/views/passwords/credentials_item_view.cc
|
| index 5aafc9466aa8b668848d992912a3b6c045ac748d..3eff92e02f39260c27ab983da26fd7537d86ee83 100644
|
| --- a/chrome/browser/ui/views/passwords/credentials_item_view.cc
|
| +++ b/chrome/browser/ui/views/passwords/credentials_item_view.cc
|
| @@ -150,7 +150,7 @@ gfx::Size CredentialsItemView::GetPreferredSize() const {
|
| const gfx::Insets insets(GetInsets());
|
| size.Enlarge(insets.width(), insets.height());
|
| size.Enlarge(ChromeLayoutProvider::Get()->GetDistanceMetric(
|
| - DISTANCE_UNRELATED_CONTROL_HORIZONTAL),
|
| + DISTANCE_RELATED_LABEL_HORIZONTAL),
|
| 0);
|
|
|
| // Make the size at least as large as the minimum size needed by the border.
|
| @@ -180,7 +180,7 @@ void CredentialsItemView::Layout() {
|
| (upper_size.height() + lower_size.height())) / 2;
|
| gfx::Point label_origin(image_origin.x() + image_size.width() +
|
| ChromeLayoutProvider::Get()->GetDistanceMetric(
|
| - DISTANCE_UNRELATED_CONTROL_HORIZONTAL),
|
| + DISTANCE_RELATED_LABEL_HORIZONTAL),
|
| child_area.origin().y() + y_offset);
|
| if (upper_label_)
|
| upper_label_->SetBoundsRect(gfx::Rect(label_origin, upper_size));
|
|
|