Index: webkit/tools/test_shell/test_shell_devtools_callargs.h |
diff --git a/webkit/tools/test_shell/test_shell_devtools_callargs.h b/webkit/tools/test_shell/test_shell_devtools_callargs.h |
index 3fd76323b1086708f1c1ca21987ae17cb81fff08..92106ec07c9ed151e2e3d6d264206f4b598803dc 100644 |
--- a/webkit/tools/test_shell/test_shell_devtools_callargs.h |
+++ b/webkit/tools/test_shell/test_shell_devtools_callargs.h |
@@ -7,19 +7,13 @@ |
#include "base/logging.h" |
-#include "third_party/WebKit/WebKit/chromium/public/WebDevToolsMessageData.h" |
#include "third_party/WebKit/WebKit/chromium/public/WebString.h" |
class TestShellDevToolsCallArgs { |
public: |
- TestShellDevToolsCallArgs(const WebKit::WebDevToolsMessageData& data) |
+ TestShellDevToolsCallArgs(const WebKit::WebString& data) |
: data_(data) { |
++calls_count_; |
- |
- // The same behaiviour as we have in case of IPC. |
- for (size_t i = 0; i < data_.arguments.size(); ++i) |
- if (data_.arguments[i].isNull()) |
- data_.arguments[i] = WebKit::WebString::fromUTF8(""); |
} |
TestShellDevToolsCallArgs(const TestShellDevToolsCallArgs& args) |
@@ -34,7 +28,7 @@ class TestShellDevToolsCallArgs { |
static int calls_count() { return calls_count_; } |
- WebKit::WebDevToolsMessageData data_; |
+ WebKit::WebString data_; |
private: |
static int calls_count_; |