| Index: components/test_runner/web_test_proxy.cc
|
| diff --git a/components/test_runner/web_test_proxy.cc b/components/test_runner/web_test_proxy.cc
|
| index 9a6d1f8c1972758929b2e874d3f2d4a12d53b32c..0941d7a7a195bdbc9166e6b099ac91b4f4126f82 100644
|
| --- a/components/test_runner/web_test_proxy.cc
|
| +++ b/components/test_runner/web_test_proxy.cc
|
| @@ -592,7 +592,7 @@
|
|
|
| void WebTestProxyBase::GetScreenOrientationForTesting(
|
| blink::WebScreenInfo& screen_info) {
|
| - if (!screen_orientation_client_)
|
| + if (!screen_orientation_client_ || !screen_orientation_client_->is_active())
|
| return;
|
| // Override screen orientation information with mock data.
|
| screen_info.orientationType =
|
|
|