Index: third_party/WebKit/Source/web/WebKit.cpp |
diff --git a/third_party/WebKit/Source/web/WebKit.cpp b/third_party/WebKit/Source/web/WebKit.cpp |
index f0ac13e62a2b6599a8aee2b4310dc3223c05ec14..0e66ffa078e9077a28a8adcbb52f62573e9f9ca7 100644 |
--- a/third_party/WebKit/Source/web/WebKit.cpp |
+++ b/third_party/WebKit/Source/web/WebKit.cpp |
@@ -36,6 +36,7 @@ |
#include "bindings/core/v8/V8Initializer.h" |
#include "core/animation/AnimationClock.h" |
#include "core/page/Page.h" |
+#include "core/workers/WorkerBackingThread.h" |
#include "gin/public/v8_platform.h" |
#include "modules/ModulesInitializer.h" |
#include "platform/LayoutTestSupport.h" |
@@ -176,4 +177,11 @@ void decommitFreeableMemory() |
WTF::Partitions::decommitFreeableMemory(); |
} |
+void MemoryPressureNotificationToWorkerThreadIsolates( |
+ v8::MemoryPressureLevel level) |
+{ |
+ WorkerBackingThread:: |
+ MemoryPressureNotificationToWorkerThreadIsolates(level); |
+} |
+ |
} // namespace blink |