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

Side by Side Diff: third_party/WebKit/Source/platform/testing/RunAllTests.cpp

Issue 1776943002: Register ArrayBufferContents' adjustAmountOfMemory in V8Initializer::initialize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 }; 68 };
69 69
70 } // namespace 70 } // namespace
71 71
72 int main(int argc, char** argv) 72 int main(int argc, char** argv)
73 { 73 {
74 base::CommandLine::Init(argc, argv); 74 base::CommandLine::Init(argc, argv);
75 75
76 WTF::Partitions::initialize(nullptr); 76 WTF::Partitions::initialize(nullptr);
77 WTF::setTimeFunctionsForTesting(dummyCurrentTime); 77 WTF::setTimeFunctionsForTesting(dummyCurrentTime);
78 WTF::initialize(nullptr); 78 WTF::initialize();
79 WTF::initializeMainThread(0); 79 WTF::initializeMainThread(0);
80 int result = 0; 80 int result = 0;
81 { 81 {
82 OwnPtr<DummyPlatform> platform = adoptPtr(new DummyPlatform); 82 OwnPtr<DummyPlatform> platform = adoptPtr(new DummyPlatform);
83 blink::Platform::initialize(platform.get()); 83 blink::Platform::initialize(platform.get());
84 { 84 {
85 blink::TestingPlatformSupport::Config platformConfig; 85 blink::TestingPlatformSupport::Config platformConfig;
86 cc_blink::WebCompositorSupportImpl compositorSupport; 86 cc_blink::WebCompositorSupportImpl compositorSupport;
87 platformConfig.compositorSupport = &compositorSupport; 87 platformConfig.compositorSupport = &compositorSupport;
88 blink::TestingPlatformSupport platform(platformConfig); 88 blink::TestingPlatformSupport platform(platformConfig);
(...skipping 15 matching lines...) Expand all
104 blink::ThreadState::detachMainThread(); 104 blink::ThreadState::detachMainThread();
105 blink::Heap::shutdown(); 105 blink::Heap::shutdown();
106 } 106 }
107 blink::Platform::shutdown(); 107 blink::Platform::shutdown();
108 } 108 }
109 109
110 WTF::shutdown(); 110 WTF::shutdown();
111 WTF::Partitions::shutdown(); 111 WTF::Partitions::shutdown();
112 return result; 112 return result;
113 } 113 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp ('k') | third_party/WebKit/Source/web/WebKit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698