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

Unified Diff: Source/core/frame/DOMWindowProperty.h

Issue 879423003: Move Location to DOMWindow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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
Index: Source/core/frame/DOMWindowProperty.h
diff --git a/Source/core/frame/DOMWindowProperty.h b/Source/core/frame/DOMWindowProperty.h
index 38060a06842ecfc984f53a5cd47352721934bccc..cecd22c179edd9eae04b207199dd4906faba7fec 100644
--- a/Source/core/frame/DOMWindowProperty.h
+++ b/Source/core/frame/DOMWindowProperty.h
@@ -30,17 +30,19 @@
namespace blink {
-class LocalDOMWindow;
+class DOMWindow;
class LocalFrame;
+class Frame;
class DOMWindowProperty : public WillBeGarbageCollectedMixin {
public:
- explicit DOMWindowProperty(LocalFrame*);
+ explicit DOMWindowProperty(Frame*);
virtual void willDestroyGlobalObjectInFrame();
virtual void willDetachGlobalObjectFromFrame();
- LocalFrame* frame() const { return m_frame; }
+ LocalFrame* localFrame() const;
+ Frame* frame() const { return m_frame; }
virtual void trace(Visitor*);
@@ -49,11 +51,11 @@ protected:
virtual ~DOMWindowProperty();
#endif
- RawPtrWillBeWeakMember<LocalFrame> m_frame;
+ RawPtrWillBeWeakMember<Frame> m_frame;
#if !ENABLE(OILPAN)
private:
- LocalDOMWindow* m_associatedDOMWindow;
+ DOMWindow* m_associatedDOMWindow;
#endif
};

Powered by Google App Engine
This is Rietveld 408576698