Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1453)

Unified Diff: Source/web/tests/RunAllTests.cpp

Issue 407453002: ReadableStream initial implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/web/tests/RunAllTests.cpp
diff --git a/Source/web/tests/RunAllTests.cpp b/Source/web/tests/RunAllTests.cpp
index 9160a6dce9c01d07f494adce327ad72dd9457821..7ea5d6642bcd8e0ccf1f5f2e65cc29bf0e35fb64 100644
--- a/Source/web/tests/RunAllTests.cpp
+++ b/Source/web/tests/RunAllTests.cpp
@@ -32,10 +32,12 @@
#include "config.h"
#endif
+#include "platform/heap/Handle.h"
#include "public/platform/Platform.h"
#include "public/web/WebKit.h"
#include "web/tests/WebUnitTests.h"
#include <content/test/webkit_support.h>
+#include <v8.h>
namespace {
@@ -48,6 +50,9 @@ void preTestHook()
void postTestHook()
{
+ v8::Isolate::GetCurrent()->RequestGarbageCollectionForTesting(v8::Isolate::kFullGarbageCollection);
tkent 2014/07/30 01:52:25 Why do you need GC? Please mention this change in
yhirano 2014/07/30 03:27:24 Done.
+ blink::Heap::collectAllGarbage();
+
content::TearDownTestEnvironment();
}
« Source/core/streams/UnderlyingSource.h ('K') | « Source/core/streams/UnderlyingSource.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698