| Index: third_party/WebKit/Source/platform/feature_policy/FeaturePolicyFuzzer.cpp
|
| diff --git a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicyFuzzer.cpp b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicyFuzzer.cpp
|
| index d6863f52fba665f389a35fa3f039e86372eeb389..e64189576fa3eeb481d3cf5bd0c3e0913697790a 100644
|
| --- a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicyFuzzer.cpp
|
| +++ b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicyFuzzer.cpp
|
| @@ -19,7 +19,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
| blink::SecurityOrigin::createFromString("https://example.com/");
|
| std::unique_ptr<blink::FeaturePolicy> policy =
|
| blink::FeaturePolicy::createFromParentPolicy(nullptr, origin);
|
| - policy->setHeaderPolicy(WTF::String(data, size), messages);
|
| + policy->setHeaderPolicy(WTF::String(data, size), &messages);
|
| return 0;
|
| }
|
|
|
|
|