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

Unified Diff: Source/core/dom/DOMURL.h

Issue 1092073007: Oilpan: have URL object on the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 | Source/core/dom/URL.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMURL.h
diff --git a/Source/core/dom/DOMURL.h b/Source/core/dom/DOMURL.h
index 491e04bd7d0b8ed6338dcdf87951e78b56cec370..9313dc1818cce27afcf84d31ad4dab856f5cac66 100644
--- a/Source/core/dom/DOMURL.h
+++ b/Source/core/dom/DOMURL.h
@@ -41,21 +41,21 @@ class ExceptionState;
class ExecutionContext;
class URLRegistrable;
-class DOMURL final : public RefCountedWillBeGarbageCollectedFinalized<DOMURL>, public ScriptWrappable, public DOMURLUtils {
+class DOMURL final : public GarbageCollectedFinalized<DOMURL>, public ScriptWrappable, public DOMURLUtils {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<DOMURL> create(const String& url, ExceptionState& exceptionState)
+ static DOMURL* create(const String& url, ExceptionState& exceptionState)
{
- return adoptRefWillBeNoop(new DOMURL(url, blankURL(), exceptionState));
+ return new DOMURL(url, blankURL(), exceptionState);
}
- static PassRefPtrWillBeRawPtr<DOMURL> create(const String& url, const String& base, ExceptionState& exceptionState)
+ static DOMURL* create(const String& url, const String& base, ExceptionState& exceptionState)
{
- return adoptRefWillBeNoop(new DOMURL(url, KURL(KURL(), base), exceptionState));
+ return new DOMURL(url, KURL(KURL(), base), exceptionState);
}
- static PassRefPtrWillBeRawPtr<DOMURL> create(const String& url, PassRefPtrWillBeRawPtr<DOMURL> base, ExceptionState& exceptionState)
+ static DOMURL* create(const String& url, DOMURL* base, ExceptionState& exceptionState)
{
ASSERT(base);
- return adoptRefWillBeNoop(new DOMURL(url, base->m_url, exceptionState));
+ return new DOMURL(url, base->m_url, exceptionState);
}
static String createObjectURL(ExecutionContext*, Blob*, ExceptionState&);
« no previous file with comments | « no previous file | Source/core/dom/URL.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698