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

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

Issue 619383002: Move PlatformEventDispatcher implementations to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Only call stopUpdating() from controller dtors when without Oilpan Created 6 years, 2 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: Source/modules/battery/BatteryManager.h
diff --git a/Source/modules/battery/BatteryManager.h b/Source/modules/battery/BatteryManager.h
index 42f4f29b6724fa86e3e97e21913c9cf015e2c1f2..a1d784f4fa9a7f37dffd1ff313a4d8df4d2d1fec 100644
--- a/Source/modules/battery/BatteryManager.h
+++ b/Source/modules/battery/BatteryManager.h
@@ -21,8 +21,8 @@ class BatteryManager FINAL : public RefCountedGarbageCollectedWillBeGarbageColle
DEFINE_WRAPPERTYPEINFO();
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(BatteryManager);
public:
- virtual ~BatteryManager();
static BatteryManager* create(ExecutionContext*);
+ virtual ~BatteryManager();
// Returns a promise object that will be resolved with this BatteryManager.
ScriptPromise startRequest(ScriptState*);

Powered by Google App Engine
This is Rietveld 408576698