Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(856)

Unified Diff: Source/core/frame/DOMWindowLifecycleObserver.cpp

Issue 334283004: Rename DOMWindow to LocalDOMWindow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/frame/DOMWindowLifecycleObserver.h ('k') | Source/core/frame/DOMWindowProperty.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/DOMWindowLifecycleObserver.cpp
diff --git a/Source/core/frame/DOMWindowLifecycleObserver.cpp b/Source/core/frame/DOMWindowLifecycleObserver.cpp
index aa4f97b866166ca8e1b67925ec07367b599d2ba4..8f08ea0fdf06d00c1d028c7b879b08d38ac0f506 100644
--- a/Source/core/frame/DOMWindowLifecycleObserver.cpp
+++ b/Source/core/frame/DOMWindowLifecycleObserver.cpp
@@ -27,22 +27,22 @@
#include "config.h"
#include "core/frame/DOMWindowLifecycleObserver.h"
-#include "core/frame/DOMWindow.h"
+#include "core/frame/LocalDOMWindow.h"
namespace WebCore {
-template<> void observerContext(DOMWindow* context, LifecycleObserver<DOMWindow>* observer)
+template<> void observerContext(LocalDOMWindow* context, LifecycleObserver<LocalDOMWindow>* observer)
{
context->wasObservedBy(observer);
}
-template<> void unobserverContext(DOMWindow* context, LifecycleObserver<DOMWindow>* observer)
+template<> void unobserverContext(LocalDOMWindow* context, LifecycleObserver<LocalDOMWindow>* observer)
{
context->wasUnobservedBy(observer);
}
-DOMWindowLifecycleObserver::DOMWindowLifecycleObserver(DOMWindow* window)
- : LifecycleObserver<DOMWindow>(window, DOMWindowLifecycleObserverType)
+DOMWindowLifecycleObserver::DOMWindowLifecycleObserver(LocalDOMWindow* window)
+ : LifecycleObserver<LocalDOMWindow>(window, DOMWindowLifecycleObserverType)
{
}
@@ -50,9 +50,9 @@ DOMWindowLifecycleObserver::~DOMWindowLifecycleObserver()
{
}
-DOMWindow* DOMWindowLifecycleObserver::window() const
+LocalDOMWindow* DOMWindowLifecycleObserver::window() const
{
- return static_cast<DOMWindow*>(lifecycleContext());
+ return static_cast<LocalDOMWindow*>(lifecycleContext());
}
} // namespace WebCore
« no previous file with comments | « Source/core/frame/DOMWindowLifecycleObserver.h ('k') | Source/core/frame/DOMWindowProperty.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698