| Index: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationInspectorAgent.cpp
|
| diff --git a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationInspectorAgent.cpp b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationInspectorAgent.cpp
|
| index 09968b9da447d7c977d726f11fb69271a8f93513..1af62214d5149821f810e2f26d01ff21d7257bcb 100644
|
| --- a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationInspectorAgent.cpp
|
| +++ b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationInspectorAgent.cpp
|
| @@ -21,13 +21,13 @@ namespace {
|
|
|
| WebScreenOrientationType WebScreenOrientationTypeFromString(const String& type)
|
| {
|
| - if (type == protocol::TypeBuilder::getEnumConstantValue(protocol::TypeBuilder::ScreenOrientation::OrientationType::PortraitPrimary))
|
| + if (type == protocol::TypeBuilder::ScreenOrientation::OrientationTypeEnum::PortraitPrimary)
|
| return WebScreenOrientationPortraitPrimary;
|
| - if (type == protocol::TypeBuilder::getEnumConstantValue(protocol::TypeBuilder::ScreenOrientation::OrientationType::PortraitSecondary))
|
| + if (type == protocol::TypeBuilder::ScreenOrientation::OrientationTypeEnum::PortraitSecondary)
|
| return WebScreenOrientationPortraitSecondary;
|
| - if (type == protocol::TypeBuilder::getEnumConstantValue(protocol::TypeBuilder::ScreenOrientation::OrientationType::LandscapePrimary))
|
| + if (type == protocol::TypeBuilder::ScreenOrientation::OrientationTypeEnum::LandscapePrimary)
|
| return WebScreenOrientationLandscapePrimary;
|
| - if (type == protocol::TypeBuilder::getEnumConstantValue(protocol::TypeBuilder::ScreenOrientation::OrientationType::LandscapeSecondary))
|
| + if (type == protocol::TypeBuilder::ScreenOrientation::OrientationTypeEnum::LandscapeSecondary)
|
| return WebScreenOrientationLandscapeSecondary;
|
| return WebScreenOrientationUndefined;
|
| }
|
|
|