| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 43ac7c71b38854b281b58948bfeb51e08b93aeef..6dad832a2409aaabc3b0307c2e239b2b3d3ebf44 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -3445,12 +3445,13 @@ void WebViewImpl::showContextMenu()
|
| m_contextMenuAllowed = false;
|
| }
|
|
|
| -WebString WebViewImpl::getSmartClipData(WebRect rect)
|
| +void WebViewImpl::getSmartClipData(WebRect rect)
|
| {
|
| LocalFrame* frame = toLocalFrame(focusedWebCoreFrame());
|
| if (!frame)
|
| - return WebString();
|
| - return WebCore::SmartClip(frame).dataForRect(rect).toString();
|
| + return;
|
| + SmartClipData clipData = WebCore::SmartClip(frame).dataForRect(rect);
|
| + m_client->updateSmartClipDataResult(clipData.getClipData(), clipData.getRect());
|
| }
|
|
|
| void WebViewImpl::hidePopups()
|
|
|