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

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

Issue 2709033003: Migrate WTF::HashMap::get() to ::at() (Closed)
Patch Set: rebase Created 3 years, 10 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 4d231423dc8a8541287d8b72a45df5eeb74c728e..c1b3a2658ca43aa77094c04a1572c0236ab1d99c 100644
--- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
@@ -1681,7 +1681,7 @@ void LayoutText::secureText(UChar mask) {
int lastTypedCharacterOffsetToReveal = -1;
UChar revealedText;
SecureTextTimer* secureTextTimer =
- gSecureTextTimers ? gSecureTextTimers->get(this) : 0;
+ gSecureTextTimers ? gSecureTextTimers->at(this) : 0;
if (secureTextTimer && secureTextTimer->isActive()) {
lastTypedCharacterOffsetToReveal =
secureTextTimer->lastTypedCharacterOffset();
@@ -1993,7 +1993,7 @@ void LayoutText::momentarilyRevealLastTypedCharacter(
if (!gSecureTextTimers)
gSecureTextTimers = new SecureTextTimerMap;
- SecureTextTimer* secureTextTimer = gSecureTextTimers->get(this);
+ SecureTextTimer* secureTextTimer = gSecureTextTimers->at(this);
if (!secureTextTimer) {
secureTextTimer = new SecureTextTimer(this);
gSecureTextTimers->insert(this, secureTextTimer);
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp ('k') | third_party/WebKit/Source/core/layout/TextAutosizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698