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

Unified Diff: content/browser/site_per_process_browsertest.cc

Issue 2797813002: Replicate feature policy container policies. (Closed)
Patch Set: Rebase after the great Blink rename Created 3 years, 8 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: content/browser/site_per_process_browsertest.cc
diff --git a/content/browser/site_per_process_browsertest.cc b/content/browser/site_per_process_browsertest.cc
index cb7a479d278c1781ffa6b7d373b786eb0e27a4cf..3b5ba0a8d6425e8adeae79a2ada93f58770a13c1 100644
--- a/content/browser/site_per_process_browsertest.cc
+++ b/content/browser/site_per_process_browsertest.cc
@@ -740,12 +740,6 @@ class SitePerProcessFeaturePolicyBrowserTest
}
};
-bool operator==(const ParsedFeaturePolicyDeclaration& first,
- const ParsedFeaturePolicyDeclaration& second) {
- return std::tie(first.feature, first.matches_all_origins, first.origins) ==
- std::tie(second.feature, second.matches_all_origins, second.origins);
-}
-
IN_PROC_BROWSER_TEST_F(SitePerProcessHighDPIBrowserTest,
SubframeLoadsWithCorrectDeviceScaleFactor) {
GURL main_url(embedded_test_server()->GetURL(

Powered by Google App Engine
This is Rietveld 408576698