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

Unified Diff: third_party/WebKit/Source/platform/feature_policy/FeaturePolicyFuzzer.cpp

Issue 2656533004: Remove unused blink::FeaturePolicy class. (Closed)
Patch Set: Rebase before commit Created 3 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 side-by-side diff with in-line comments
Download patch
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 041a414aad93d295ff57f31419beb25e839a3ce9..f09b56609f593f8b9a9e0087580c22a89865c46c 100644
--- a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicyFuzzer.cpp
+++ b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicyFuzzer.cpp
@@ -17,8 +17,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
WTF::Vector<WTF::String> messages;
RefPtr<blink::SecurityOrigin> origin =
blink::SecurityOrigin::createFromString("https://example.com/");
- blink::FeaturePolicy::parseFeaturePolicy(WTF::String(data, size),
- origin.get(), &messages);
+ blink::parseFeaturePolicy(WTF::String(data, size), origin.get(), &messages);
return 0;
}

Powered by Google App Engine
This is Rietveld 408576698