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

Unified Diff: Source/modules/screen_orientation/ScreenScreenOrientation.cpp

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/modules/screen_orientation/ScreenScreenOrientation.cpp
diff --git a/Source/modules/screen_orientation/ScreenScreenOrientation.cpp b/Source/modules/screen_orientation/ScreenScreenOrientation.cpp
index 6d46e6bba2892ca34ab6630cceef2081ccc1b894..5413c6d3459d5995419a1941572b7eaf80f34c0c 100644
--- a/Source/modules/screen_orientation/ScreenScreenOrientation.cpp
+++ b/Source/modules/screen_orientation/ScreenScreenOrientation.cpp
@@ -34,7 +34,7 @@ ScreenOrientation* ScreenScreenOrientation::orientation(ScriptState* state, Scre
return 0;
if (!self.m_orientation)
- self.m_orientation = ScreenOrientation::create(screen.frame());
+ self.m_orientation = ScreenOrientation::create(screen.localFrame());
return self.m_orientation.get();
}

Powered by Google App Engine
This is Rietveld 408576698