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

Unified Diff: third_party/WebKit/Source/core/frame/SubresourceIntegrityTest.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/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 c7c1f874864de7e09283515bea91d505538cd0b0..970e0bde9fa72367f6f6ab156290d27737eef0f2 100644
--- a/third_party/WebKit/Source/core/frame/SubresourceIntegrityTest.cpp
+++ b/third_party/WebKit/Source/core/frame/SubresourceIntegrityTest.cpp
@@ -159,7 +159,7 @@ protected:
EXPECT_FALSE(SubresourceIntegrity::CheckSubresourceIntegrity(*scriptElement, script, size, url, *createTestResource(url, requestorUrl, corsStatus).get()));
}
- PassRefPtrWillBeRawPtr<Resource> createTestResource(const KURL& url, const KURL& allowOriginUrl, CorsStatus corsStatus)
+ RawPtr<Resource> createTestResource(const KURL& url, const KURL& allowOriginUrl, CorsStatus corsStatus)
{
ResourceResponse response;
response.setURL(url);
@@ -168,7 +168,7 @@ protected:
response.setHTTPHeaderField("access-control-allow-origin", SecurityOrigin::create(allowOriginUrl)->toAtomicString());
response.setHTTPHeaderField("access-control-allow-credentials", "true");
}
- RefPtrWillBeRawPtr<Resource> resource = Resource::create(ResourceRequest(response.url()), Resource::Raw);
+ RawPtr<Resource> resource = Resource::create(ResourceRequest(response.url()), Resource::Raw);
resource->setResponse(response);
return resource;
}
@@ -178,8 +178,8 @@ protected:
RefPtr<SecurityOrigin> secureOrigin;
RefPtr<SecurityOrigin> insecureOrigin;
- RefPtrWillBePersistent<Document> document;
- RefPtrWillBePersistent<HTMLScriptElement> scriptElement;
+ Persistent<Document> document;
+ Persistent<HTMLScriptElement> scriptElement;
};
TEST_F(SubresourceIntegrityTest, Prioritization)
« no previous file with comments | « third_party/WebKit/Source/core/frame/SmartClip.cpp ('k') | third_party/WebKit/Source/core/frame/TopControls.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698