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

Unified Diff: third_party/WebKit/Source/core/fetch/DocumentResourceReference.h

Issue 1667843003: Make Resource RefCountedWillBeGarbageCollectedFinalized, attempt #2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + address review comments Created 4 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/core/fetch/DocumentResourceReference.h
diff --git a/third_party/WebKit/Source/core/fetch/DocumentResourceReference.h b/third_party/WebKit/Source/core/fetch/DocumentResourceReference.h
index 56f7280dc4cff9e847cdaabe9fdddd621696e0a5..fff7f74fcdc8e4ff40a2506cc041e0b5223b8dbf 100644
--- a/third_party/WebKit/Source/core/fetch/DocumentResourceReference.h
+++ b/third_party/WebKit/Source/core/fetch/DocumentResourceReference.h
@@ -27,7 +27,6 @@
#define DocumentResourceReference_h
#include "core/fetch/DocumentResource.h"
-#include "core/fetch/ResourcePtr.h"
namespace blink {
@@ -39,7 +38,7 @@ public:
DocumentResource* document() { return m_document.get(); }
private:
String debugName() const override { return "DocumentResourceReference"; }
- ResourcePtr<DocumentResource> m_document;
+ RefPtrWillBePersistent<DocumentResource> m_document;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/fetch/DocumentResource.cpp ('k') | third_party/WebKit/Source/core/fetch/FontResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698