| 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 e3f8ce90e4eae1afe9e86c579be5acb22e2634b8..88b57b9d12fd07374aa593bafdc44f8645ccae45 100644
|
| --- a/third_party/WebKit/Source/web/DevToolsEmulator.cpp
|
| +++ b/third_party/WebKit/Source/web/DevToolsEmulator.cpp
|
| @@ -500,9 +500,10 @@ bool DevToolsEmulator::handleInputEvent(const WebInputEvent& inputEvent) {
|
| frameView, static_cast<const WebGestureEvent&>(inputEvent));
|
| float pageScaleFactor = page->pageScaleFactor();
|
| if (gestureEvent.type() == PlatformEvent::GesturePinchBegin) {
|
| - m_lastPinchAnchorCss = wrapUnique(new IntPoint(roundedIntPoint(
|
| + m_lastPinchAnchorCss = WTF::wrapUnique(new IntPoint(roundedIntPoint(
|
| gestureEvent.position() + frameView->getScrollOffset())));
|
| - m_lastPinchAnchorDip = wrapUnique(new IntPoint(gestureEvent.position()));
|
| + m_lastPinchAnchorDip =
|
| + WTF::wrapUnique(new IntPoint(gestureEvent.position()));
|
| m_lastPinchAnchorDip->scale(pageScaleFactor, pageScaleFactor);
|
| }
|
| if (gestureEvent.type() == PlatformEvent::GesturePinchUpdate &&
|
|
|