[chromium] fix stray printf in TestRunner's WebTestProxy
authorjochen@chromium.org <jochen@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Dec 2012 10:39:42 +0000 (10:39 +0000)
committerjochen@chromium.org <jochen@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Dec 2012 10:39:42 +0000 (10:39 +0000)
https://bugs.webkit.org/show_bug.cgi?id=105515

Reviewed by Ryosuke Niwa.

* DumpRenderTree/chromium/TestRunner/src/WebTestProxy.cpp:
(WebTestRunner::WebTestProxyBase::shouldInsertNode):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@138239 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/DumpRenderTree/chromium/TestRunner/src/WebTestProxy.cpp

index 2658894..3bb0116 100644 (file)
@@ -1,3 +1,13 @@
+2012-12-20  Jochen Eisinger  <jochen@chromium.org>
+
+        [chromium] fix stray printf in TestRunner's WebTestProxy
+        https://bugs.webkit.org/show_bug.cgi?id=105515
+
+        Reviewed by Ryosuke Niwa.
+
+        * DumpRenderTree/chromium/TestRunner/src/WebTestProxy.cpp:
+        (WebTestRunner::WebTestProxyBase::shouldInsertNode):
+
 2012-12-20  Dominik Röttsches  <dominik.rottsches@intel.com>
 
         [WK2] WebAudio WKTR support
index 302de09..d501c28 100644 (file)
@@ -323,7 +323,7 @@ bool WebTestProxyBase::shouldInsertNode(const WebNode& node, const WebRange& ran
         printNodeDescription(m_delegate, node, 0);
         m_delegate->printMessage(" replacingDOMRange:");
         printRangeDescription(m_delegate, range);
-        printf(" givenAction:%s\n", editingActionDescription(action).c_str());
+        m_delegate->printMessage(string(" givenAction:") + editingActionDescription(action) + "\n");
     }
     return true;
 }