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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp

Issue 2651883008: Make content::FeaturePolicy implement WebFeaturePolicy, and use it in blink code (Closed)
Patch Set: Cleanup Created 3 years, 10 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/modules/payments/PaymentTestHelper.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp b/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp
index d4e326b88afb2b7e3883cc540c1dd7b8b77e1bda..cda610edf0be8f25a8797f9f90b06f2c92aff579 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp
@@ -169,7 +169,7 @@ payments::mojom::blink::PaymentResponsePtr buildPaymentResponseForTest() {
}
void makePaymentRequestOriginSecure(Document& document) {
- document.setSecurityOrigin(
+ document.updateSecurityOrigin(
raymes 2017/02/13 04:45:22 Are there other places that call setSecurityOrigin
iclelland 2017/02/23 20:04:12 That's actually a really good point -- Most of the
SecurityOrigin::create(KURL(KURL(), "https://www.example.com/")));
}

Powered by Google App Engine
This is Rietveld 408576698