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

Unified Diff: Source/modules/push_messaging/PushManager.h

Issue 219753004: Oilpan: Build fix after r170454 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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/modules/push_messaging/NavigatorPushManager.h ('k') | Source/modules/push_messaging/PushManager.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/push_messaging/PushManager.h
diff --git a/Source/modules/push_messaging/PushManager.h b/Source/modules/push_messaging/PushManager.h
index c196af78f48abad369cd78c8513630fece5c4030..30622aba04e94a797c88cfbe8a15b165794f2b4e 100644
--- a/Source/modules/push_messaging/PushManager.h
+++ b/Source/modules/push_messaging/PushManager.h
@@ -6,6 +6,7 @@
#define PushManager_h
#include "bindings/v8/ScriptWrappable.h"
+#include "heap/Handle.h"
#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
@@ -14,13 +15,18 @@ namespace WebCore {
class ExecutionContext;
class ScriptPromise;
-class PushManager FINAL : public RefCountedWillBeRefCountedGarbageCollected<PushManager>, public ScriptWrappable {
+class PushManager FINAL : public RefCountedWillBeGarbageCollectedFinalized<PushManager>, public ScriptWrappable {
Peter Beverloo 2014/03/31 19:08:07 Could you confirm my understanding of this change?
sof 2014/03/31 19:32:40 Yes, an event target will have to be kept alive fo
public:
- static PassRefPtrWillBeRawPtr<PushManager> create() { return adoptRefWillBeNoop(new PushManager()); }
+ static PassRefPtrWillBeRawPtr<PushManager> create()
+ {
+ return adoptRefWillBeNoop(new PushManager());
+ }
virtual ~PushManager();
ScriptPromise registerPushMessaging(ExecutionContext*, const String& senderId);
+ void trace(Visitor*) { }
+
private:
PushManager();
};
« no previous file with comments | « Source/modules/push_messaging/NavigatorPushManager.h ('k') | Source/modules/push_messaging/PushManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698