| Index: third_party/WebKit/Source/core/html/HTMLDocument.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLDocument.cpp b/third_party/WebKit/Source/core/html/HTMLDocument.cpp
|
| index 1b81adc8e0a6b10cc278c98702eb7f9da89777c3..a748bb458f126087e4ff15c16d295e138dd1c340 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLDocument.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLDocument.cpp
|
| @@ -54,6 +54,7 @@
|
|
|
| #include "bindings/core/v8/ScriptController.h"
|
| #include "core/HTMLNames.h"
|
| +#include "core/fetch/MemoryCache.h"
|
| #include "core/frame/LocalFrame.h"
|
| #include "core/html/HTMLBodyElement.h"
|
|
|
| @@ -197,4 +198,10 @@ void HTMLDocument::removeExtraNamedItem(const AtomicString& name)
|
| removeItemFromMap(m_extraNamedItemCounts, name);
|
| }
|
|
|
| +void HTMLDocument::captureEvents()
|
| +{
|
| + // Temporary hack to call pruneAll directly.
|
| + memoryCache()->pruneAll();
|
| +}
|
| +
|
| } // namespace blink
|
|
|