| Index: third_party/WebKit/Source/core/page/Page.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/Page.cpp b/third_party/WebKit/Source/core/page/Page.cpp
|
| index 23f5e9954f6d3befac17aa5893b26a1f72356b9c..d5771fbc942596547437f4eb2b820f1b20f1b343 100644
|
| --- a/third_party/WebKit/Source/core/page/Page.cpp
|
| +++ b/third_party/WebKit/Source/core/page/Page.cpp
|
| @@ -524,8 +524,8 @@ void Page::willBeDestroyed() {
|
| mainFrame->detach(FrameDetachType::Remove);
|
|
|
| ASSERT(allPages().contains(this));
|
| - allPages().remove(this);
|
| - ordinaryPages().remove(this);
|
| + allPages().erase(this);
|
| + ordinaryPages().erase(this);
|
|
|
| if (m_scrollingCoordinator)
|
| m_scrollingCoordinator->willBeDestroyed();
|
|
|