| Index: third_party/WebKit/Source/platform/Length.cpp
|
| diff --git a/third_party/WebKit/Source/platform/Length.cpp b/third_party/WebKit/Source/platform/Length.cpp
|
| index c8597fcfce93fcb72e770157704cd48b799abfc0..a2296baf62f6d15f08de284a4cf1a09f14232fea 100644
|
| --- a/third_party/WebKit/Source/platform/Length.cpp
|
| +++ b/third_party/WebKit/Source/platform/Length.cpp
|
| @@ -54,7 +54,7 @@ class CalculationValueHandleMap {
|
|
|
| void remove(int index) {
|
| ASSERT(m_map.contains(index));
|
| - m_map.remove(index);
|
| + m_map.erase(index);
|
| }
|
|
|
| CalculationValue& get(int index) {
|
| @@ -69,7 +69,7 @@ class CalculationValueHandleMap {
|
| // Force the CalculationValue destructor early to avoid a potential
|
| // recursive call inside HashMap remove().
|
| m_map.set(index, nullptr);
|
| - m_map.remove(index);
|
| + m_map.erase(index);
|
| } else {
|
| value->deref();
|
| }
|
|
|