| Index: third_party/WebKit/Source/devtools/front_end/emulation/DeviceOrientation.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceOrientation.js b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceOrientation.js
|
| index 94a6b65fe2e4f5f3c55d3198126fec93bbd51ac7..32ae78161d92649981b267f6bec1c243e89a5680 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceOrientation.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceOrientation.js
|
| @@ -26,13 +26,13 @@ WebInspector.DeviceOrientation.prototype = {
|
|
|
| apply: function()
|
| {
|
| - for (var target of WebInspector.targetManager.targets(WebInspector.Target.Type.Page))
|
| + for (var target of WebInspector.targetManager.targets(WebInspector.Target.Capability.Browser))
|
| target.deviceOrientationAgent().setDeviceOrientationOverride(this.alpha, this.beta, this.gamma);
|
| },
|
|
|
| clear: function()
|
| {
|
| - for (var target of WebInspector.targetManager.targets(WebInspector.Target.Type.Page))
|
| + for (var target of WebInspector.targetManager.targets(WebInspector.Target.Capability.Browser))
|
| target.deviceOrientationAgent().clearDeviceOrientationOverride();
|
| }
|
| }
|
|
|