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

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

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Only get prefix and no capitalization. Created 3 years, 11 months 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 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; }
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutVTTCue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698