| Index: content/browser/devtools/protocol/page_handler.cc
|
| diff --git a/content/browser/devtools/protocol/page_handler.cc b/content/browser/devtools/protocol/page_handler.cc
|
| index c2931a77843ed7225e99250a9601bba0656fefdd..a06c61feef5da6d1749c059637b3c49c370fd288 100644
|
| --- a/content/browser/devtools/protocol/page_handler.cc
|
| +++ b/content/browser/devtools/protocol/page_handler.cc
|
| @@ -53,12 +53,10 @@ ui::GestureProviderConfigType TouchEmulationConfigurationToType(
|
| const std::string& protocol_value) {
|
| ui::GestureProviderConfigType result =
|
| ui::GestureProviderConfigType::CURRENT_PLATFORM;
|
| - if (protocol_value ==
|
| - set_touch_emulation_enabled::kConfigurationMobile) {
|
| + if (protocol_value == "mobile") {
|
| result = ui::GestureProviderConfigType::GENERIC_MOBILE;
|
| }
|
| - if (protocol_value ==
|
| - set_touch_emulation_enabled::kConfigurationDesktop) {
|
| + if (protocol_value == "desktop") {
|
| result = ui::GestureProviderConfigType::GENERIC_DESKTOP;
|
| }
|
| return result;
|
|
|