| Index: third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp b/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp
|
| index 8ecb8159cfc35e4b9ec4a0b72497426fded8f727..df7e4ede8dbdfcf8b84a20166e2355829021a385 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp
|
| @@ -355,7 +355,7 @@
|
| continue;
|
| if (it != styleSharingList.begin()) {
|
| // Move the element to the front of the LRU
|
| - styleSharingList.erase(it);
|
| + styleSharingList.remove(it);
|
| styleSharingList.prepend(&candidate);
|
| }
|
| return &candidate;
|
|
|