| Index: third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutText.cpp b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| index f232de118082894b43c2c819e007c3df21de56d1..dd8366d87a8887878a576fce62ffb90d4076b5cf 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| @@ -84,8 +84,10 @@ class SecureTextTimer final : public TimerBase {
|
|
|
| void restartWithNewText(unsigned lastTypedCharacterOffset) {
|
| m_lastTypedCharacterOffset = lastTypedCharacterOffset;
|
| - if (Settings* settings = m_layoutText->document().settings())
|
| - startOneShot(settings->passwordEchoDurationInSeconds(), BLINK_FROM_HERE);
|
| + if (Settings* settings = m_layoutText->document().settings()) {
|
| + startOneShot(settings->getPasswordEchoDurationInSeconds(),
|
| + BLINK_FROM_HERE);
|
| + }
|
| }
|
| void invalidate() { m_lastTypedCharacterOffset = -1; }
|
| unsigned lastTypedCharacterOffset() { return m_lastTypedCharacterOffset; }
|
|
|