summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-20 19:42:55 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-20 19:42:55 +0000
commit6c48ea41d7fa9afea070a461cb230bc42fc08794 (patch)
treeae79caf81b8a1be9e0fbebc2c4365d633e74d8de /chrome_frame
parent9bd3095ca43167be01c25cd79c2e7c21529ed153 (diff)
downloadchromium_src-6c48ea41d7fa9afea070a461cb230bc42fc08794.zip
chromium_src-6c48ea41d7fa9afea070a461cb230bc42fc08794.tar.gz
chromium_src-6c48ea41d7fa9afea070a461cb230bc42fc08794.tar.bz2
Fix ChromeFrame tests which broke after my change to fix empty XHR POST requests to not cache. Reason
an incorrect bind verb check. BUG=none TEST=chrome frame tests should pass. TBR=amit Review URL: http://codereview.chromium.org/7056018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86129 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/urlmon_url_request.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/urlmon_url_request.cc b/chrome_frame/urlmon_url_request.cc
index 860544d..376cd36 100644
--- a/chrome_frame/urlmon_url_request.cc
+++ b/chrome_frame/urlmon_url_request.cc
@@ -469,7 +469,7 @@ STDMETHODIMP UrlmonUrlRequest::GetBindInfo(DWORD* bind_flags,
lstrcpyW(bind_info->szCustomVerb, verb.c_str());
}
- if (bind_info->dwBindVerb = BINDVERB_POST ||
+ if (bind_info->dwBindVerb == BINDVERB_POST ||
bind_info->dwBindVerb == BINDVERB_PUT) {
// Bypass caching proxies on upload requests and avoid writing responses to
// the browser's cache.