| Index: Source/web/tests/TouchActionTest.cpp
|
| diff --git a/Source/web/tests/TouchActionTest.cpp b/Source/web/tests/TouchActionTest.cpp
|
| index e2a0aa3f0c99dec462a3c3dbcada840edad3be13..695d18a9193bfeecf8ef69726906bcea94f1905f 100755
|
| --- a/Source/web/tests/TouchActionTest.cpp
|
| +++ b/Source/web/tests/TouchActionTest.cpp
|
| @@ -189,7 +189,7 @@ void TouchActionTest::runTestOnTree(WebCore::Node* root, WebView* webView, Touch
|
|
|
| std::string failureContext("Test case: ");
|
| if (element->hasID()) {
|
| - failureContext.append(element->getIdAttribute().string().ascii().data());
|
| + failureContext.append(element->getIdAttribute().ascii().data());
|
| } else if (element->firstChild()) {
|
| failureContext.append("\"");
|
| failureContext.append(element->firstChild()->textContent(false).stripWhiteSpace().ascii().data());
|
| @@ -269,7 +269,7 @@ void TouchActionTest::runTestOnTree(WebCore::Node* root, WebView* webView, Touch
|
| } else if (expectedAction == "pan-x-y") {
|
| EXPECT_EQ((WebTouchActionPanX | WebTouchActionPanY), client.lastTouchAction()) << failureContextPos;
|
| } else {
|
| - FAIL() << "Unrecognized expected-action \"" << expectedAction.string().ascii().data()
|
| + FAIL() << "Unrecognized expected-action \"" << expectedAction.ascii().data()
|
| << "\" " << failureContextPos;
|
| }
|
| }
|
|
|