| Index: Source/web/tests/WebViewTest.cpp
|
| diff --git a/Source/web/tests/WebViewTest.cpp b/Source/web/tests/WebViewTest.cpp
|
| index fff86e4447797ab4b3af792e6449523f54456442..e714241d038549d9882f586b8b4aa334a0883a32 100644
|
| --- a/Source/web/tests/WebViewTest.cpp
|
| +++ b/Source/web/tests/WebViewTest.cpp
|
| @@ -1436,17 +1436,15 @@
|
|
|
| TEST_F(WebViewTest, SmartClipData)
|
| {
|
| - WebString clipData;
|
| - WebRect clipRect;
|
| URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("Ahem.ttf"));
|
| URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("smartclip.html"));
|
| WebView* webView = m_webViewHelper.initializeAndLoad(m_baseURL + "smartclip.html");
|
| webView->resize(WebSize(500, 500));
|
| webView->layout();
|
| WebRect cropRect(300, 125, 100, 50);
|
| - webView->getSmartClipData(cropRect, &clipData, &clipRect);
|
| -
|
| - EXPECT_FALSE(clipData.isEmpty());
|
| +
|
| + // FIXME: We should test the structure of the data we get back.
|
| + EXPECT_FALSE(webView->getSmartClipData(cropRect).isEmpty());
|
| }
|
|
|
| class CreateChildCounterFrameClient : public FrameTestHelpers::TestWebFrameClient {
|
|
|