diff options
Diffstat (limited to 'Source/WebCore/page/DOMWindowProperty.h')
-rw-r--r-- | Source/WebCore/page/DOMWindowProperty.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Source/WebCore/page/DOMWindowProperty.h b/Source/WebCore/page/DOMWindowProperty.h index e2dcc4437..c4bdd80d6 100644 --- a/Source/WebCore/page/DOMWindowProperty.h +++ b/Source/WebCore/page/DOMWindowProperty.h @@ -23,8 +23,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef DOMWindowProperty_h -#define DOMWindowProperty_h +#pragma once namespace WebCore { @@ -35,8 +34,8 @@ class DOMWindowProperty { public: explicit DOMWindowProperty(Frame*); - virtual void disconnectFrameForPageCache(); - virtual void reconnectFrameFromPageCache(Frame*); + virtual void disconnectFrameForDocumentSuspension(); + virtual void reconnectFrameFromDocumentSuspension(Frame*); virtual void willDestroyGlobalObjectInCachedFrame(); virtual void willDestroyGlobalObjectInFrame(); virtual void willDetachGlobalObjectFromFrame(); @@ -50,6 +49,4 @@ protected: DOMWindow* m_associatedDOMWindow; }; -} - -#endif +} // namespace WebCore |