Commit 4401ddd3 authored by sadrul's avatar sadrul Committed by Commit bot

blink: Enable test/experiment features before initilization.

Some of the blink initialization code can depend on test/experimental features.
So enable the features before blink::initialize()

BUG=436932

Review URL: https://codereview.chromium.org/1171853003

Cr-Commit-Position: refs/heads/master@{#333726}
parent 46cf91c0
......@@ -147,11 +147,11 @@ class RenderViewImplTest : public RenderViewTest {
~RenderViewImplTest() override {}
void SetUp() override {
RenderViewTest::SetUp();
// Enable Blink's experimental and test only features so that test code
// does not have to bother enabling each feature.
WebRuntimeFeatures::enableExperimentalFeatures(true);
WebRuntimeFeatures::enableTestOnlyFeatures(true);
RenderViewTest::SetUp();
}
RenderViewImpl* view() {
......
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