summaryrefslogtreecommitdiffstats
path: root/testing/chromium/chromium-stdstring.patch
blob: 4085c7b77fc27bf2314eb4e4649aebe37babe2e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- chromium-13.0.754.0.orig/chrome/browser/debugger/devtools_remote_listen_socket.cc
+++ chromium-13.0.754.0/chrome/browser/debugger/devtools_remote_listen_socket.cc
@@ -157,11 +157,7 @@
   static const std::string kHandshakeString = "ChromeDevToolsHandshake";
   switch (state_) {
     case HANDSHAKE:
-      if (protocol_field_.compare(kHandshakeString)) {
-        state_ = INVALID;
-      } else {
-        Send(kHandshakeString, true);
-      }
+      Send(kHandshakeString, true);
       break;
     case HEADERS: {
       if (!protocol_field_.empty()) {  // not end-of-headers