Index: third_party/WebKit/Source/core/frame/SubresourceIntegrityTest.cpp |
diff --git a/third_party/WebKit/Source/core/frame/SubresourceIntegrityTest.cpp b/third_party/WebKit/Source/core/frame/SubresourceIntegrityTest.cpp |
index 13240b7772aa8e63bed6741e4015ba30f6c19c49..fdaf1b70592f2deb4a0ef43421d1fd3065841797 100644 |
--- a/third_party/WebKit/Source/core/frame/SubresourceIntegrityTest.cpp |
+++ b/third_party/WebKit/Source/core/frame/SubresourceIntegrityTest.cpp |
@@ -177,7 +177,7 @@ class SubresourceIntegrityTest : public ::testing::Test { |
CorsStatus corsStatus = WithCors) { |
scriptElement->setAttribute(HTMLNames::integrityAttr, integrity); |
EXPECT_TRUE(SubresourceIntegrity::CheckSubresourceIntegrity( |
- *scriptElement, script, size, url, |
+ String(integrity), scriptElement->document(), script, size, url, |
*createTestResource(url, requestorUrl, corsStatus))); |
} |
@@ -189,7 +189,7 @@ class SubresourceIntegrityTest : public ::testing::Test { |
CorsStatus corsStatus = WithCors) { |
scriptElement->setAttribute(HTMLNames::integrityAttr, integrity); |
EXPECT_FALSE(SubresourceIntegrity::CheckSubresourceIntegrity( |
- *scriptElement, script, size, url, |
+ String(integrity), scriptElement->document(), script, size, url, |
*createTestResource(url, requestorUrl, corsStatus))); |
} |