| Index: third_party/WebKit/Source/core/testing/WorkerInternals.cpp
|
| diff --git a/third_party/WebKit/Source/core/testing/WorkerInternals.cpp b/third_party/WebKit/Source/core/testing/WorkerInternals.cpp
|
| index 7263097f7b6078c6e14b5e052301eb932cc8d2fb..c8a3c84ad684055bdc6ed5aad7dd585409aa02b7 100644
|
| --- a/third_party/WebKit/Source/core/testing/WorkerInternals.cpp
|
| +++ b/third_party/WebKit/Source/core/testing/WorkerInternals.cpp
|
| @@ -30,4 +30,9 @@ void WorkerInternals::countDeprecation(ScriptState* scriptState,
|
| static_cast<UseCounter::Feature>(feature));
|
| }
|
|
|
| +void WorkerInternals::collectGarbage(ScriptState* scriptState) {
|
| + scriptState->isolate()->RequestGarbageCollectionForTesting(
|
| + v8::Isolate::kFullGarbageCollection);
|
| +}
|
| +
|
| } // namespace blink
|
|
|