| Index: third_party/WebKit/Source/web/DevToolsEmulator.cpp
|
| diff --git a/third_party/WebKit/Source/web/DevToolsEmulator.cpp b/third_party/WebKit/Source/web/DevToolsEmulator.cpp
|
| index 04c742b1db104f0aa731a7e31cadbdfca3b6ef97..f87f2e7aca8c984765512bddb16f8cd47627b737 100644
|
| --- a/third_party/WebKit/Source/web/DevToolsEmulator.cpp
|
| +++ b/third_party/WebKit/Source/web/DevToolsEmulator.cpp
|
| @@ -377,8 +377,8 @@ bool DevToolsEmulator::handleInputEvent(const WebInputEvent& inputEvent)
|
| m_webViewImpl->mainFrame()->setScrollOffset(toIntSize(*m_lastPinchAnchorCss.get() - toIntSize(anchorCss)));
|
| }
|
| if (gestureEvent.type() == PlatformEvent::GesturePinchEnd) {
|
| - m_lastPinchAnchorCss.clear();
|
| - m_lastPinchAnchorDip.clear();
|
| + m_lastPinchAnchorCss.reset();
|
| + m_lastPinchAnchorDip.reset();
|
| }
|
| return true;
|
| }
|
|
|