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

Unified Diff: third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.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/paint/ObjectPaintInvalidator.cpp
diff --git a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
index eedca8d87b2e4e5ed0df5364011f1a75c4de5a89..d8d4210e8fbd2189683d0c7654a2b206c7566f44 100644
--- a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
@@ -428,7 +428,7 @@ LayoutPoint ObjectPaintInvalidator::previousLocationInBacking() const {
DCHECK(m_object.hasPreviousLocationInBacking() ==
locationInBackingMap().contains(&m_object));
return m_object.hasPreviousLocationInBacking()
- ? locationInBackingMap().get(&m_object)
+ ? locationInBackingMap().at(&m_object)
: m_object.previousVisualRect().location();
}
@@ -550,7 +550,7 @@ void ObjectPaintInvalidatorWithContext::invalidateSelectionIfNeeded(
selectionVisualRectMap().contains(&m_object));
LayoutRect oldSelectionRect;
if (m_object.hasPreviousSelectionVisualRect())
- oldSelectionRect = selectionVisualRectMap().get(&m_object);
+ oldSelectionRect = selectionVisualRectMap().at(&m_object);
LayoutRect newSelectionRect = m_object.localSelectionRect();
if (!newSelectionRect.isEmpty()) {
m_context.mapLocalRectToPaintInvalidationBacking(m_object,

Powered by Google App Engine
This is Rietveld 408576698