| Index: chrome/browser/chromeos/login/textfield_with_margin.cc
|
| diff --git a/chrome/browser/chromeos/login/textfield_with_margin.cc b/chrome/browser/chromeos/login/textfield_with_margin.cc
|
| index 8ad4cee430ef64c097cf88b9520194f3e0f44749..44d343223ce4ca49e619d3c2a62ffd0a35f4cb83 100644
|
| --- a/chrome/browser/chromeos/login/textfield_with_margin.cc
|
| +++ b/chrome/browser/chromeos/login/textfield_with_margin.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "chrome/browser/chromeos/login/textfield_with_margin.h"
|
|
|
| +#include "chrome/browser/chromeos/login/helper.h"
|
| +
|
| namespace {
|
|
|
| // Holds ratio of the margin to the preferred text height.
|
| @@ -17,6 +19,12 @@ const int kVerticalMargin = 3;
|
| namespace chromeos {
|
|
|
| TextfieldWithMargin::TextfieldWithMargin() {
|
| + CorrectTextfieldFontSize(this);
|
| +}
|
| +
|
| +TextfieldWithMargin::TextfieldWithMargin(views::Textfield::StyleFlags style)
|
| + : Textfield(style) {
|
| + CorrectTextfieldFontSize(this);
|
| }
|
|
|
| void TextfieldWithMargin::Layout() {
|
|
|