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

Unified Diff: Source/modules/screen_orientation/ScreenOrientation.h

Issue 131113003: Fix DOMWindow::isCurrentlyDisplayedInFrame to return false when detached (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix ScreenOrientation + test window.open. Created 6 years, 10 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/ScreenOrientation.h
diff --git a/Source/modules/screen_orientation/ScreenOrientation.h b/Source/modules/screen_orientation/ScreenOrientation.h
index 5f9d0a83848ed9316d449972dce7c6778afa4572..ff5a85f657c4f7ed402d025143a03af0ac38f008 100644
--- a/Source/modules/screen_orientation/ScreenOrientation.h
+++ b/Source/modules/screen_orientation/ScreenOrientation.h
@@ -38,7 +38,7 @@ private:
void orientationLockTimerFired(Timer<ScreenOrientation>*);
static const char* supplementName();
- Document& document() const;
+ Document* document() const;
Timer<ScreenOrientation> m_orientationLockTimer;
blink::WebScreenOrientations m_lockedOrientations;

Powered by Google App Engine
This is Rietveld 408576698