aboutsummaryrefslogtreecommitdiffstats
path: root/testing/chromium/chromium-stdstring.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-05-06 08:18:45 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-05-06 08:19:15 -0500
commitb6c00fd50fb0e2166f1856e9813c512d6f20714f (patch)
treef656096a3b02cb41efa5504e2b8e66239cae96d6 /testing/chromium/chromium-stdstring.patch
parentfab2389fa813a1d3d7441d733fd8adb2144d1cac (diff)
downloadaports-b6c00fd50fb0e2166f1856e9813c512d6f20714f.tar.bz2
aports-b6c00fd50fb0e2166f1856e9813c512d6f20714f.tar.xz
testing/chromium: new aport, not actually enabled on any architectures yet
Diffstat (limited to 'testing/chromium/chromium-stdstring.patch')
-rw-r--r--testing/chromium/chromium-stdstring.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/chromium/chromium-stdstring.patch b/testing/chromium/chromium-stdstring.patch
new file mode 100644
index 0000000000..4085c7b77f
--- /dev/null
+++ b/testing/chromium/chromium-stdstring.patch
@@ -0,0 +1,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