| Index: Source/web/InspectorClientImpl.cpp
|
| diff --git a/Source/web/InspectorClientImpl.cpp b/Source/web/InspectorClientImpl.cpp
|
| index 42521e37adb6af95f1c4bee881a0e5a87751f2bf..d65ded80e0fe2d6f444ab1c33e1f0d431119caa0 100644
|
| --- a/Source/web/InspectorClientImpl.cpp
|
| +++ b/Source/web/InspectorClientImpl.cpp
|
| @@ -36,8 +36,9 @@
|
| #include "WebViewImpl.h"
|
| #include "core/inspector/InspectorInstrumentation.h"
|
| #include "core/frame/DOMWindow.h"
|
| -#include "core/page/Page.h"
|
| +#include "core/frame/LocalFrame.h"
|
| #include "core/frame/Settings.h"
|
| +#include "core/page/Page.h"
|
| #include "platform/JSONValues.h"
|
| #include "platform/geometry/FloatRect.h"
|
| #include "public/platform/WebRect.h"
|
| @@ -139,7 +140,8 @@ void InspectorClientImpl::setShowScrollBottleneckRects(bool show)
|
|
|
| void InspectorClientImpl::requestPageScaleFactor(float scale, const IntPoint& origin)
|
| {
|
| - m_inspectedWebView->setPageScaleFactor(scale, origin);
|
| + m_inspectedWebView->setPinchViewportScaleFactor(scale);
|
| + m_inspectedWebView->setMainFrameScrollOffset(origin);
|
| }
|
|
|
| void InspectorClientImpl::getAllocatedObjects(HashSet<const void*>& set)
|
|
|