Commit 1928d0e3 authored by weinig@apple.com's avatar weinig@apple.com

Fix the iOS build.

* UIProcess/API/ios/WKContentView.mm:
* UIProcess/API/ios/WKInteractionView.mm:
* UIProcess/ios/WebPageProxyIOS.mm:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159904 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 8029245b
2013-12-01 Sam Weinig <sam@webkit.org>
Fix the iOS build.
* UIProcess/API/ios/WKContentView.mm:
* UIProcess/API/ios/WKInteractionView.mm:
* UIProcess/ios/WebPageProxyIOS.mm:
2013-12-01 Sam Weinig <sam@webkit.org>
[CTTE] The WebPageProxy's WebProcessProxy is never null so it should be stored in a Ref
......
......@@ -257,7 +257,7 @@ using namespace WebKit;
- (void)_decidePolicyForGeolocationRequestFromOrigin:(WebSecurityOrigin&)origin frame:(WebFrameProxy&)frame request:(GeolocationPermissionRequestProxy&)permissionRequest
{
[[wrapper(*_page->process()->context()) _geolocationProvider] decidePolicyForGeolocationRequestFromOrigin:toAPI(&origin) frame:toAPI(&frame) request:toAPI(&permissionRequest) window:[self window]];
[[wrapper(_page->process().context()) _geolocationProvider] decidePolicyForGeolocationRequestFromOrigin:toAPI(&origin) frame:toAPI(&frame) request:toAPI(&permissionRequest) window:[self window]];
}
@end
......
......@@ -382,7 +382,7 @@ static FloatQuad inflateQuad(const FloatQuad& quad, float inflateSize)
if (![self isFirstResponder])
[self becomeFirstResponder];
_page->process()->send(Messages::WebPage::HandleTap(IntPoint(location)), _page->pageID());
_page->process().send(Messages::WebPage::HandleTap(IntPoint(location)), _page->pageID());
}
- (UIView *)inputAccessoryView
......
......@@ -103,7 +103,7 @@ bool WebPageProxy::insertText(const String& text, uint64_t replacementRangeStart
return true;
bool handled = true;
process()->sendSync(Messages::WebPage::InsertText(text, replacementRangeStart, replacementRangeEnd), Messages::WebPage::InsertText::Reply(handled, m_editorState), m_pageID);
process().sendSync(Messages::WebPage::InsertText(text, replacementRangeStart, replacementRangeEnd), Messages::WebPage::InsertText::Reply(handled, m_editorState), m_pageID);
return handled;
}
......@@ -333,12 +333,12 @@ bool WebPageProxy::acceptsFirstMouse(int, const WebKit::WebMouseEvent&)
void WebPageProxy::didFinishScrolling(const WebCore::FloatPoint& contentOffset)
{
process()->send(Messages::WebPage::DidFinishScrolling(contentOffset), m_pageID);
process().send(Messages::WebPage::DidFinishScrolling(contentOffset), m_pageID);
}
void WebPageProxy::didFinishZooming(float newScale)
{
process()->send(Messages::WebPage::DidFinishZooming(newScale), m_pageID);
process().send(Messages::WebPage::DidFinishZooming(newScale), m_pageID);
}
void WebPageProxy::tapHighlightAtPosition(const WebCore::FloatPoint& position, uint64_t& requestID)
......@@ -346,12 +346,12 @@ void WebPageProxy::tapHighlightAtPosition(const WebCore::FloatPoint& position, u
static uint64_t uniqueRequestID = 0;
requestID = ++uniqueRequestID;
process()->send(Messages::WebPage::TapHighlightAtPosition(requestID, position), m_pageID);
process().send(Messages::WebPage::TapHighlightAtPosition(requestID, position), m_pageID);
}
void WebPageProxy::blurAssistedNode()
{
process()->send(Messages::WebPage::BlurAssistedNode(), m_pageID);
process().send(Messages::WebPage::BlurAssistedNode(), m_pageID);
}
void WebPageProxy::mainDocumentDidReceiveMobileDocType()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment