Commit b92f8f2f authored by Robert Sesek's avatar Robert Sesek Committed by Commit Bot

Make components_browsertests initialize the ShellMainDelegate as a browsertest.

Bug: 1066264
Change-Id: I8e0949be2a74e39cddab6887d077af2b90bfb484
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2128980
Commit-Queue: Robert Sesek <rsesek@chromium.org>
Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#755002}
parent 38053229
......@@ -27,6 +27,7 @@ JNI_EXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) {
return std::make_unique<content::NestedMessagePumpAndroid>();
});
content::SetContentMainDelegate(new content::ShellMainDelegate());
content::SetContentMainDelegate(
new content::ShellMainDelegate(/*is_browsertest=*/true));
return JNI_VERSION_1_4;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment