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

Unified Diff: Source/core/loader/appcache/ApplicationCache.h

Issue 1194003004: Oilpan: enable appcache + move DocumentLoader to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 5 years, 6 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 | « Source/core/loader/FrameLoaderClient.h ('k') | Source/core/loader/appcache/ApplicationCache.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/appcache/ApplicationCache.h
diff --git a/Source/core/loader/appcache/ApplicationCache.h b/Source/core/loader/appcache/ApplicationCache.h
index d21e71533b7724603e9dc7d8f5f44205aeae0bfd..9e129eee45c2b275ea70747ac7ff93c08a5f71ed 100644
--- a/Source/core/loader/appcache/ApplicationCache.h
+++ b/Source/core/loader/appcache/ApplicationCache.h
@@ -39,14 +39,14 @@ namespace blink {
class ExceptionState;
class LocalFrame;
-class ApplicationCache final : public EventTargetWithInlineData, public RefCountedWillBeNoBase<ApplicationCache>, public DOMWindowProperty {
+class ApplicationCache final : public RefCountedGarbageCollectedEventTargetWithInlineData<ApplicationCache>, public DOMWindowProperty {
DEFINE_WRAPPERTYPEINFO();
- REFCOUNTED_EVENT_TARGET(ApplicationCache);
+ REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(ApplicationCache);
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ApplicationCache);
public:
- static PassRefPtrWillBeRawPtr<ApplicationCache> create(LocalFrame* frame)
+ static ApplicationCache* create(LocalFrame* frame)
{
- return adoptRefWillBeNoop(new ApplicationCache(frame));
+ return new ApplicationCache(frame);
}
virtual ~ApplicationCache()
{
« no previous file with comments | « Source/core/loader/FrameLoaderClient.h ('k') | Source/core/loader/appcache/ApplicationCache.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698