Index: Source/devtools/front_end/OverridesSupport.js |
diff --git a/Source/devtools/front_end/OverridesSupport.js b/Source/devtools/front_end/OverridesSupport.js |
index 9eb9dea04ec935c30022ab8a44eefabf23f088f6..a769cc3207cf7cad63bc3f18eea6127c3b269981 100644 |
--- a/Source/devtools/front_end/OverridesSupport.js |
+++ b/Source/devtools/front_end/OverridesSupport.js |
@@ -519,8 +519,6 @@ WebInspector.OverridesSupport.prototype = { |
PageAgent.clearDeviceOrientationOverride(); |
return; |
} |
- if (WebInspector.OverridesSupport.isInspectingDevice()) |
- return; |
var deviceOrientation = WebInspector.OverridesSupport.DeviceOrientation.parseSetting(WebInspector.settings.deviceOrientationOverride.get()); |
PageAgent.setDeviceOrientationOverride(deviceOrientation.alpha, deviceOrientation.beta, deviceOrientation.gamma); |