| Index: Source/web/WebKit.cpp
|
| diff --git a/Source/web/WebKit.cpp b/Source/web/WebKit.cpp
|
| index d33d80ace65ca8e52e861fa1bd42345326364f63..beba41c435a177cd7458d68d812ece96d41b19fa 100644
|
| --- a/Source/web/WebKit.cpp
|
| +++ b/Source/web/WebKit.cpp
|
| @@ -56,6 +56,7 @@
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/WebPrerenderingSupport.h"
|
| #include "public/platform/WebThread.h"
|
| +#include <v8-defaults.h>
|
| #include <v8.h>
|
|
|
| namespace WebKit {
|
| @@ -101,6 +102,7 @@ void initialize(Platform* platform)
|
|
|
| v8::V8::SetEntropySource(&generateEntropy);
|
| v8::V8::SetArrayBufferAllocator(WebCore::v8ArrayBufferAllocator());
|
| + v8::SetDefaultResourceConstraintsForCurrentPlatform();
|
| v8::V8::Initialize();
|
| v8::Isolate* isolate = v8::Isolate::GetCurrent();
|
| WebCore::setMainThreadIsolate(isolate);
|
|
|