Index: Source/web/tests/ActivityLoggerTest.cpp |
diff --git a/Source/web/tests/ActivityLoggerTest.cpp b/Source/web/tests/ActivityLoggerTest.cpp |
index 7e2f8497da1ec93af7ffbe26dfb17d56913927c5..f0f67ca3212043de7d26bb7cade811994cbf4167 100644 |
--- a/Source/web/tests/ActivityLoggerTest.cpp |
+++ b/Source/web/tests/ActivityLoggerTest.cpp |
@@ -9,6 +9,7 @@ |
#include "bindings/core/v8/ScriptSourceCode.h" |
#include "bindings/core/v8/V8Binding.h" |
#include "bindings/core/v8/V8DOMActivityLogger.h" |
+#include "public/web/WebCache.h" |
#include "web/WebLocalFrameImpl.h" |
#include "wtf/Forward.h" |
#include "wtf/text/Base64.h" |
@@ -69,6 +70,11 @@ protected: |
FrameTestHelpers::loadFrame(m_webViewHelper.webViewImpl()->mainFrame(), "about:blank"); |
} |
+ ~ActivityLoggerTest() |
+ { |
+ WebCache::clear(); |
+ } |
+ |
void executeScriptInMainWorld(const String& script) const |
{ |
v8::HandleScope scope(v8::Isolate::GetCurrent()); |