Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / modules / notifications / DOMWindowNotifications.h
index 0cc9d6d..255a792 100644 (file)
@@ -30,6 +30,7 @@
 #if ENABLE(LEGACY_NOTIFICATIONS)
 
 #include "core/frame/DOMWindowProperty.h"
+#include "heap/Handle.h"
 #include "platform/Supplementable.h"
 #include "wtf/text/WTFString.h"
 
@@ -55,7 +56,7 @@ private:
     static const char* supplementName();
 
     DOMWindow* m_window;
-    RefPtr<NotificationCenter> m_notificationCenter;
+    RefPtrWillBePersistent<NotificationCenter> m_notificationCenter;
 };
 
 } // namespace WebCore