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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.h b/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.h
index 0d4056e1496c2ae4668900f9ce0e0dcd45d255cf..0cc57e43d1e5ba740c0b858211fe5b9459b8395d 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.h
@@ -33,7 +33,6 @@
#include "bindings/core/v8/ScriptStreamer.h"
#include "core/CoreExport.h"
-#include "core/fetch/ResourcePtr.h"
#include "core/fetch/ScriptResource.h"
#include "platform/heap/Handle.h"
#include "platform/weborigin/KURL.h"
@@ -42,9 +41,6 @@
namespace blink {
-template <class R> class ResourcePtr;
-class ScriptResource;
-
class CORE_EXPORT ScriptSourceCode final {
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
@@ -78,7 +74,7 @@ private:
void treatNullSourceAsEmpty();
CompressibleString m_source;
- ResourcePtr<ScriptResource> m_resource;
+ RefPtrWillBeMember<ScriptResource> m_resource;
RefPtrWillBeMember<ScriptStreamer> m_streamer;
mutable KURL m_url;
TextPosition m_startPosition;
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698