| Index: components/test_runner/mock_screen_orientation_client.cc
|
| diff --git a/components/test_runner/mock_screen_orientation_client.cc b/components/test_runner/mock_screen_orientation_client.cc
|
| index 7fe803debb269e33f76026a40a8fac3d48b8b0f4..80a1dbf013128a1debadc8945f768fdf50cd2318 100644
|
| --- a/components/test_runner/mock_screen_orientation_client.cc
|
| +++ b/components/test_runner/mock_screen_orientation_client.cc
|
| @@ -15,8 +15,7 @@
|
| : main_frame_(NULL),
|
| current_lock_(blink::WebScreenOrientationLockDefault),
|
| device_orientation_(blink::WebScreenOrientationPortraitPrimary),
|
| - current_orientation_(blink::WebScreenOrientationPortraitPrimary),
|
| - is_active_(false) {
|
| + current_orientation_(blink::WebScreenOrientationPortraitPrimary) {
|
| }
|
|
|
| MockScreenOrientationClient::~MockScreenOrientationClient() {
|
| @@ -26,14 +25,12 @@
|
| current_lock_ = blink::WebScreenOrientationLockDefault;
|
| device_orientation_ = blink::WebScreenOrientationPortraitPrimary;
|
| current_orientation_ = blink::WebScreenOrientationPortraitPrimary;
|
| - is_active_ = true;
|
| }
|
|
|
| void MockScreenOrientationClient::UpdateDeviceOrientation(
|
| blink::WebLocalFrame* main_frame,
|
| blink::WebScreenOrientationType orientation) {
|
| main_frame_ = main_frame;
|
| - is_active_ = true;
|
| if (device_orientation_ == orientation)
|
| return;
|
| device_orientation_ = orientation;
|
|
|