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

Unified Diff: sky/engine/web/tests/RunAllTests.cpp

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/web/WebSettingsImpl.cpp ('k') | sky/engine/wtf/text/AtomicString.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/tests/RunAllTests.cpp
diff --git a/sky/engine/web/tests/RunAllTests.cpp b/sky/engine/web/tests/RunAllTests.cpp
index 4ac1f76aa9afef947b78818badeef7872e1b7510..21048e9d112a7b383c5d784492bb1519f7203323 100644
--- a/sky/engine/web/tests/RunAllTests.cpp
+++ b/sky/engine/web/tests/RunAllTests.cpp
@@ -40,21 +40,14 @@
#include "sky/engine/public/platform/Platform.h"
#include "sky/engine/public/web/Sky.h"
#include "sky/engine/testing/platform/platform_impl.h"
-#include "v8/include/v8.h"
-int runHelper(TestSuite* testSuite)
-{
+int runHelper(TestSuite* testSuite) {
base::MessageLoopForUI message_loop;
blink::initialize(new sky::PlatformImpl());
-
- std::string flags("--expose-gc");
- v8::V8::SetFlagsFromString(flags.c_str(), static_cast<int>(flags.size()));
-
return testSuite->Run();
}
-int main(int argc, char** argv)
-{
+int main(int argc, char** argv) {
TestSuite test_suite(argc, argv);
return base::LaunchUnitTests(
argc, argv, Bind(&runHelper, Unretained(&test_suite)));
« no previous file with comments | « sky/engine/web/WebSettingsImpl.cpp ('k') | sky/engine/wtf/text/AtomicString.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698