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

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

Issue 141303002: Remove runtime flag check assert on public method. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix wrong assert check Created 6 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
« no previous file with comments | « no previous file | Source/web/WebFrameImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/DOMWindow.cpp
diff --git a/Source/core/frame/DOMWindow.cpp b/Source/core/frame/DOMWindow.cpp
index e52015a91aa505202e0d1b305712bf8d06a1cea1..ea86affedd389f572972222687c5d3db4cd050ac 100644
--- a/Source/core/frame/DOMWindow.cpp
+++ b/Source/core/frame/DOMWindow.cpp
@@ -615,7 +615,7 @@ bool DOMWindow::isCurrentlyDisplayedInFrame() const
int DOMWindow::orientation() const
{
- ASSERT(!RuntimeEnabledFeatures::orientationEventEnabled());
+ ASSERT(RuntimeEnabledFeatures::orientationEventEnabled());
if (!m_frame)
return 0;
« no previous file with comments | « no previous file | Source/web/WebFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698