Index: Source/core/dom/ContextLifecycleObserver.h |
diff --git a/Source/core/dom/ContextDestructionObserver.h b/Source/core/dom/ContextLifecycleObserver.h |
similarity index 86% |
rename from Source/core/dom/ContextDestructionObserver.h |
rename to Source/core/dom/ContextLifecycleObserver.h |
index 1254a0ad8cd5fc7dc46897344a81f288943028b7..574455e861a357cf4f33514367aaf69b3657d5a9 100644 |
--- a/Source/core/dom/ContextDestructionObserver.h |
+++ b/Source/core/dom/ContextLifecycleObserver.h |
@@ -20,18 +20,18 @@ |
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
* |
*/ |
-#ifndef ContextDestructionObserver_h |
-#define ContextDestructionObserver_h |
+#ifndef ContextLifecycleObserver_h |
+#define ContextLifecycleObserver_h |
namespace WebCore { |
class ScriptExecutionContext; |
-class ContextDestructionObserver { |
+class ContextLifecycleObserver { |
public: |
enum Type { |
ActiveDOMObjectType, |
@@ -39,13 +39,13 @@ public: |
GenericType |
}; |
- explicit ContextDestructionObserver(ScriptExecutionContext*, Type = GenericType); |
+ explicit ContextLifecycleObserver(ScriptExecutionContext*, Type = GenericType); |
virtual void contextDestroyed(); |
ScriptExecutionContext* scriptExecutionContext() const { return m_scriptExecutionContext; } |
protected: |
- virtual ~ContextDestructionObserver(); |
+ virtual ~ContextLifecycleObserver(); |
void observeContext(ScriptExecutionContext*, Type); |
ScriptExecutionContext* m_scriptExecutionContext; |
@@ -53,4 +53,4 @@ protected: |
} // namespace WebCore |
-#endif // ContextDestructionObserver_h |
+#endif // ContextLifecycleObserver_h |