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

Unified Diff: third_party/WebKit/Source/core/loader/FrameFetchContextTest.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/loader/FrameFetchContextTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp b/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
index 6e4c73225914e8b02dd9198399a50cb8bdce632e..9835824bcc0ac3fe389e5b882bafd02da0450d30 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
@@ -50,9 +50,9 @@ namespace blink {
class StubFrameLoaderClientWithParent final : public EmptyFrameLoaderClient {
public:
- static PassOwnPtrWillBeRawPtr<StubFrameLoaderClientWithParent> create(Frame* parent)
+ static RawPtr<StubFrameLoaderClientWithParent> create(Frame* parent)
{
- return adoptPtrWillBeNoop(new StubFrameLoaderClientWithParent(parent));
+ return new StubFrameLoaderClientWithParent(parent);
}
DEFINE_INLINE_VIRTUAL_TRACE()
@@ -69,7 +69,7 @@ private:
{
}
- RawPtrWillBeMember<Frame> m_parent;
+ Member<Frame> m_parent;
};
class MockFrameLoaderClient : public EmptyFrameLoaderClient {
@@ -122,15 +122,15 @@ protected:
OwnPtr<DummyPageHolder> dummyPageHolder;
// We don't use the DocumentLoader directly in any tests, but need to keep it around as long
// as the ResourceFetcher and Document live due to indirect usage.
- RefPtrWillBePersistent<DocumentLoader> documentLoader;
- RefPtrWillBePersistent<Document> document;
+ Persistent<DocumentLoader> documentLoader;
+ Persistent<Document> document;
Persistent<FrameFetchContext> fetchContext;
- OwnPtrWillBePersistent<StubFrameLoaderClientWithParent> childClient;
- RefPtrWillBePersistent<LocalFrame> childFrame;
- RefPtrWillBePersistent<DocumentLoader> childDocumentLoader;
- RefPtrWillBePersistent<Document> childDocument;
- OwnPtrWillBePersistent<DummyFrameOwner> owner;
+ Persistent<StubFrameLoaderClientWithParent> childClient;
+ Persistent<LocalFrame> childFrame;
+ Persistent<DocumentLoader> childDocumentLoader;
+ Persistent<Document> childDocument;
+ Persistent<DummyFrameOwner> owner;
};
// This test class sets up a mock frame loader client that expects a
@@ -568,7 +568,7 @@ TEST_F(FrameFetchContextDisplayedCertificateErrorsTest, MemoryCacheCertificateEr
response.setURL(url);
response.setSecurityInfo(securityInfo);
response.setHasMajorCertificateErrors(true);
- RefPtrWillBeRawPtr<Resource> resource = Resource::create(resourceRequest, Resource::Image);
+ RawPtr<Resource> resource = Resource::create(resourceRequest, Resource::Image);
resource->setResponse(response);
fetchContext->dispatchDidLoadResourceFromMemoryCache(resource.get(), WebURLRequest::FrameTypeNone, WebURLRequest::RequestContextImage);
}
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameFetchContext.h ('k') | third_party/WebKit/Source/core/loader/FrameLoadRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698