Index: Source/modules/screen_orientation/ScreenOrientationController.cpp |
diff --git a/Source/modules/screen_orientation/ScreenOrientationController.cpp b/Source/modules/screen_orientation/ScreenOrientationController.cpp |
index a553065ef8cedba490184814bd55abcc45b60667..4da6dd564b19ed09f71815d193a794995b41fc7f 100644 |
--- a/Source/modules/screen_orientation/ScreenOrientationController.cpp |
+++ b/Source/modules/screen_orientation/ScreenOrientationController.cpp |
@@ -13,7 +13,6 @@ |
#include "core/page/Page.h" |
#include "platform/LayoutTestSupport.h" |
#include "platform/PlatformScreen.h" |
-#include "public/platform/Platform.h" |
#include "public/platform/WebScreenOrientationClient.h" |
namespace WebCore { |
@@ -119,8 +118,6 @@ blink::WebScreenOrientationType ScreenOrientationController::orientation() const |
void ScreenOrientationController::lockOrientation(blink::WebScreenOrientationLockType orientation, blink::WebLockOrientationCallback* callback) |
{ |
if (!m_client) { |
- // FIXME: temporary until the content layer gets updated. |
- blink::Platform::current()->lockOrientation(orientation, callback); |
return; |
} |
@@ -130,8 +127,6 @@ void ScreenOrientationController::lockOrientation(blink::WebScreenOrientationLoc |
void ScreenOrientationController::unlockOrientation() |
{ |
if (!m_client) { |
- // FIXME: temporary until the content layer gets updated. |
- blink::Platform::current()->unlockOrientation(); |
return; |
} |