Index: Source/web/FullscreenController.h |
diff --git a/Source/web/FullscreenController.h b/Source/web/FullscreenController.h |
index 682d137c6c5089a95f28e8230cefc5cd69fd8f92..56a4d8f46b811e44db7191c9bd5f69043a3bb7ee 100644 |
--- a/Source/web/FullscreenController.h |
+++ b/Source/web/FullscreenController.h |
@@ -43,9 +43,9 @@ class Element; |
class LocalFrame; |
class WebViewImpl; |
-class FullscreenController { |
+class FullscreenController FINAL : public NoBaseWillBeGarbageCollected<FullscreenController> { |
public: |
- static PassOwnPtr<FullscreenController> create(WebViewImpl*); |
+ static PassOwnPtrWillBeRawPtr<FullscreenController> create(WebViewImpl*); |
void didEnterFullScreen(); |
void didExitFullScreen(); |
@@ -55,6 +55,8 @@ public: |
bool isFullscreen() { return m_fullScreenFrame; } |
+ void trace(Visitor*); |
+ |
protected: |
explicit FullscreenController(WebViewImpl*); |
@@ -66,10 +68,10 @@ private: |
FloatPoint m_exitFullscreenPinchViewportOffset; |
// If set, the WebView is transitioning to fullscreen for this element. |
- RefPtrWillBePersistent<Element> m_provisionalFullScreenElement; |
+ RefPtrWillBeMember<Element> m_provisionalFullScreenElement; |
// If set, the WebView is in fullscreen mode for an element in this frame. |
- RefPtr<LocalFrame> m_fullScreenFrame; |
+ RefPtrWillBeMember<LocalFrame> m_fullScreenFrame; |
bool m_isCancelingFullScreen; |
}; |
@@ -77,4 +79,3 @@ private: |
} // namespace blink |
#endif |
- |