summaryrefslogtreecommitdiff
path: root/Source/WebCore/dom/ContextDestructionObserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/ContextDestructionObserver.h')
-rw-r--r--Source/WebCore/dom/ContextDestructionObserver.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/Source/WebCore/dom/ContextDestructionObserver.h b/Source/WebCore/dom/ContextDestructionObserver.h
index ca956abc8..ebb8d3e78 100644
--- a/Source/WebCore/dom/ContextDestructionObserver.h
+++ b/Source/WebCore/dom/ContextDestructionObserver.h
@@ -10,10 +10,10 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
@@ -24,8 +24,9 @@
*
*/
-#ifndef ContextDestructionObserver_h
-#define ContextDestructionObserver_h
+#pragma once
+
+#include "PlatformExportMacros.h"
namespace WebCore {
@@ -33,18 +34,16 @@ class ScriptExecutionContext;
class ContextDestructionObserver {
public:
- explicit ContextDestructionObserver(ScriptExecutionContext*);
- virtual void contextDestroyed();
+ WEBCORE_EXPORT explicit ContextDestructionObserver(ScriptExecutionContext*);
+ WEBCORE_EXPORT virtual void contextDestroyed();
ScriptExecutionContext* scriptExecutionContext() const { return m_scriptExecutionContext; }
protected:
- virtual ~ContextDestructionObserver();
+ WEBCORE_EXPORT virtual ~ContextDestructionObserver();
void observeContext(ScriptExecutionContext*);
ScriptExecutionContext* m_scriptExecutionContext;
};
} // namespace WebCore
-
-#endif // ContextDestructionObserver_h