Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutText.cpp

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Capitalize the prefix. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 a322079d7a9be257d1d8c0f87715bde40bd44d69..7097977461215175772b7ab62c2b6f60d0719964 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; }

Powered by Google App Engine
This is Rietveld 408576698