| Index: Source/core/inspector/InspectorInputAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorInputAgent.cpp b/Source/core/inspector/InspectorInputAgent.cpp
|
| index 831c04941f9f9408099e77cb4581305feaf7279a..03b0a8b79e90678b4ea14c3e3bbb7ee74e6e6c5f 100644
|
| --- a/Source/core/inspector/InspectorInputAgent.cpp
|
| +++ b/Source/core/inspector/InspectorInputAgent.cpp
|
| @@ -81,7 +81,8 @@ public:
|
|
|
| void ConvertInspectorPoint(WebCore::Page* page, const WebCore::IntPoint& point, WebCore::IntPoint* convertedPoint, WebCore::IntPoint* globalPoint)
|
| {
|
| - *convertedPoint = page->mainFrame()->view()->convertToContainingWindow(point);
|
| + // FIXME: Completely broken with OOPI.
|
| + *convertedPoint = toLocalFrame(page->mainFrame())->view()->convertToContainingWindow(point);
|
| *globalPoint = page->chrome().rootViewToScreen(WebCore::IntRect(point, WebCore::IntSize(0, 0))).location();
|
| }
|
|
|
| @@ -267,7 +268,7 @@ void InspectorInputAgent::dispatchTouchEvent(ErrorString* error, const String& t
|
| event.append(point);
|
| }
|
|
|
| - m_page->mainFrame()->eventHandler().handleTouchEvent(event);
|
| + toLocalFrame(m_page->mainFrame())->eventHandler().handleTouchEvent(event);
|
| }
|
|
|
| } // namespace WebCore
|
|
|