summaryrefslogtreecommitdiff
path: root/chromium/v8/samples
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-08-26 12:17:21 +0200
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-08-26 12:17:55 +0000
commitc3d0bb5bb15d008606b18b865841e19cd9bb5847 (patch)
tree25706f444200c7c4895371e78075b98f6f4c020b /chromium/v8/samples
parent3a97ca8dd9b96b599ae2d33e40df0dd2f7ea5859 (diff)
downloadqtwebengine-chromium-c3d0bb5bb15d008606b18b865841e19cd9bb5847.tar.gz
BASELINE: Update chromium to 45.0.2454.79
Also remove third_party trace-viewer and hunspell again. Change-Id: Iee0b3b27abcef9b1e87a0e39b71f6b785d1d19be Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'chromium/v8/samples')
-rw-r--r--chromium/v8/samples/hello-world.cc1
-rw-r--r--chromium/v8/samples/process.cc1
-rw-r--r--chromium/v8/samples/shell.cc1
3 files changed, 3 insertions, 0 deletions
diff --git a/chromium/v8/samples/hello-world.cc b/chromium/v8/samples/hello-world.cc
index 8be5a31fca4..3b952d816b9 100644
--- a/chromium/v8/samples/hello-world.cc
+++ b/chromium/v8/samples/hello-world.cc
@@ -25,6 +25,7 @@ class ArrayBufferAllocator : public v8::ArrayBuffer::Allocator {
int main(int argc, char* argv[]) {
// Initialize V8.
V8::InitializeICU();
+ V8::InitializeExternalStartupData(argv[0]);
Platform* platform = platform::CreateDefaultPlatform();
V8::InitializePlatform(platform);
V8::Initialize();
diff --git a/chromium/v8/samples/process.cc b/chromium/v8/samples/process.cc
index a62950a76ab..6f7a47f1b01 100644
--- a/chromium/v8/samples/process.cc
+++ b/chromium/v8/samples/process.cc
@@ -686,6 +686,7 @@ void PrintMap(map<string, string>* m) {
int main(int argc, char* argv[]) {
v8::V8::InitializeICU();
+ v8::V8::InitializeExternalStartupData(argv[0]);
v8::Platform* platform = v8::platform::CreateDefaultPlatform();
v8::V8::InitializePlatform(platform);
v8::V8::Initialize();
diff --git a/chromium/v8/samples/shell.cc b/chromium/v8/samples/shell.cc
index 3a743d6c13b..bd621c54657 100644
--- a/chromium/v8/samples/shell.cc
+++ b/chromium/v8/samples/shell.cc
@@ -75,6 +75,7 @@ class ShellArrayBufferAllocator : public v8::ArrayBuffer::Allocator {
int main(int argc, char* argv[]) {
v8::V8::InitializeICU();
+ v8::V8::InitializeExternalStartupData(argv[0]);
v8::Platform* platform = v8::platform::CreateDefaultPlatform();
v8::V8::InitializePlatform(platform);
v8::V8::Initialize();