Index: Source/web/TextFinder.cpp |
diff --git a/Source/web/TextFinder.cpp b/Source/web/TextFinder.cpp |
index 4e782a829f2ee83531a73a495f508f61b63ec97f..cd14af29a9a6cb45edabc8b274b971dc6b93a9d2 100644 |
--- a/Source/web/TextFinder.cpp |
+++ b/Source/web/TextFinder.cpp |
@@ -1750,10 +1750,10 @@ void WebFrameImpl::resetMatchCount() |
void WebFrameImpl::sendOrientationChangeEvent(int orientation) |
{ |
-#if ENABLE(ORIENTATION_EVENTS) |
+ ASSERT(!RuntimeEnabledFeatures::orientationEventEnabled()); |
+ |
if (frame()) |
frame()->sendOrientationChangeEvent(orientation); |
-#endif |
} |
void WebFrameImpl::dispatchMessageEventWithOriginCheck(const WebSecurityOrigin& intendedTargetOrigin, const WebDOMEvent& event) |