Index: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.cpp |
diff --git a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.cpp b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.cpp |
index d87d1887abc9028651b6f1295009848f8ba68a2d..9215af491292fb83e25d9895463737a6827b9dea 100644 |
--- a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.cpp |
+++ b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.cpp |
@@ -25,8 +25,6 @@ ScreenOrientationController::~ScreenOrientationController() |
void ScreenOrientationController::provideTo(LocalFrame& frame, WebScreenOrientationClient* client) |
{ |
- ASSERT(RuntimeEnabledFeatures::screenOrientationEnabled()); |
- |
ScreenOrientationController* controller = new ScreenOrientationController(frame, client); |
Supplement<LocalFrame>::provideTo(frame, supplementName(), controller); |
} |
@@ -120,8 +118,6 @@ void ScreenOrientationController::pageVisibilityChanged() |
void ScreenOrientationController::notifyOrientationChanged() |
{ |
- ASSERT(RuntimeEnabledFeatures::screenOrientationEnabled()); |
- |
if (!isActiveAndVisible()) |
return; |