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

Unified Diff: Source/core/frame/Location.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/Location.h
diff --git a/Source/core/frame/Location.h b/Source/core/frame/Location.h
index 8b6f0a37be2716593c370d99d93ca53099bb4247..e1ee2ed1b7aeed78a105868089c3ae149a5e61fc 100644
--- a/Source/core/frame/Location.h
+++ b/Source/core/frame/Location.h
@@ -40,14 +40,14 @@ namespace blink {
class LocalDOMWindow;
class ExceptionState;
-class LocalFrame;
+class Frame;
class KURL;
class Location final : public RefCountedWillBeGarbageCollected<Location>, public ScriptWrappable, public DOMWindowProperty {
DEFINE_WRAPPERTYPEINFO();
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Location);
public:
- static PassRefPtrWillBeRawPtr<Location> create(LocalFrame* frame)
+ static PassRefPtrWillBeRawPtr<Location> create(Frame* frame)
{
return adoptRefWillBeNoop(new Location(frame));
}
@@ -80,7 +80,7 @@ public:
virtual void trace(Visitor*) override;
private:
- explicit Location(LocalFrame*);
+ explicit Location(Frame*);
enum class SetLocation { Normal, ReplaceThisFrame };
void setLocation(const String&, LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, SetLocation = SetLocation::Normal);

Powered by Google App Engine
This is Rietveld 408576698