| Index: Source/core/inspector/InspectorPageAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorPageAgent.cpp b/Source/core/inspector/InspectorPageAgent.cpp
|
| index 5486d3a78009e39f173dcf32e6887c28062348a0..d0e55391d67a2dcf1160c25f6e64f38b0d465d2a 100644
|
| --- a/Source/core/inspector/InspectorPageAgent.cpp
|
| +++ b/Source/core/inspector/InspectorPageAgent.cpp
|
| @@ -1160,8 +1160,7 @@ void InspectorPageAgent::updateViewMetrics(int width, int height, double deviceS
|
| void InspectorPageAgent::updateTouchEventEmulationInPage(bool enabled)
|
| {
|
| m_state->setBoolean(PageAgentState::touchEventEmulationEnabled, enabled);
|
| - if (mainFrame() && mainFrame()->settings())
|
| - mainFrame()->settings()->setTouchEventEmulationEnabled(enabled);
|
| + m_client->setTouchEventEmulationEnabled(enabled);
|
| }
|
|
|
| void InspectorPageAgent::setTouchEmulationEnabled(ErrorString*, bool enabled)
|
|
|