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

Unified Diff: Source/modules/battery/BatteryManager.h

Issue 307433003: Oilpan: Allocate all EventTarget derived types on the manged heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 7 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/xml/XMLHttpRequestUpload.cpp ('k') | Source/modules/encryptedmedia/MediaKeySession.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/battery/BatteryManager.h
diff --git a/Source/modules/battery/BatteryManager.h b/Source/modules/battery/BatteryManager.h
index 13148d5d360a0dc997fa605b84ce0c6920157f6b..875f9c9db9a23db028c6c283c900af5490444342 100644
--- a/Source/modules/battery/BatteryManager.h
+++ b/Source/modules/battery/BatteryManager.h
@@ -16,7 +16,8 @@ namespace WebCore {
class Navigator;
class BatteryManager FINAL : public RefCountedWillBeRefCountedGarbageCollected<BatteryManager>, public ActiveDOMObject, public DeviceSensorEventController, public EventTargetWithInlineData {
- DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<BatteryManager>);
+ REFCOUNTED_EVENT_TARGET(BatteryManager);
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(BatteryManager);
public:
virtual ~BatteryManager();
static PassRefPtrWillBeRawPtr<BatteryManager> create(ExecutionContext*);
@@ -51,8 +52,6 @@ public:
virtual bool isNullEvent(Event*) OVERRIDE;
virtual Document* document() OVERRIDE;
- void trace(Visitor*) { }
-
private:
explicit BatteryManager(ExecutionContext*);
};
« no previous file with comments | « Source/core/xml/XMLHttpRequestUpload.cpp ('k') | Source/modules/encryptedmedia/MediaKeySession.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698