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

Unified Diff: third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.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/editing/commands/ApplyStyleCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
index 8ee82cb1b65cd18be11f6c8f6277e24c307ae52a..2bbc2dcbd69c9d43f7e4ac6392419349cff6f8be 100644
--- a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
@@ -473,7 +473,7 @@ void ApplyStyleCommand::applyRelativeFontStyleChange(
copyStyleOrCreateEmpty(element->inlineStyle());
float currentFontSize = computedFontSize(node);
float desiredFontSize = max(
- MinimumFontSize, startingFontSizes.get(node) + style->fontSizeDelta());
+ MinimumFontSize, startingFontSizes.at(node) + style->fontSizeDelta());
const CSSValue* value =
inlineStyle->getPropertyCSSValue(CSSPropertyFontSize);
if (value) {

Powered by Google App Engine
This is Rietveld 408576698