summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome_frame/protocol_sink_wrap.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome_frame/protocol_sink_wrap.cc b/chrome_frame/protocol_sink_wrap.cc
index ddb608a..7664117 100644
--- a/chrome_frame/protocol_sink_wrap.cc
+++ b/chrome_frame/protocol_sink_wrap.cc
@@ -871,7 +871,9 @@ STDMETHODIMP Hook_Terminate(InternetProtocol_Terminate_Fn orig_req,
IInternetProtocol* protocol,
DWORD options) {
scoped_refptr<ProtData> prot_data = ProtData::DataFromProtocol(protocol);
- if (prot_data)
+ // TODO(ananta/robertshield)
+ // Write a test for this bug http://crbug.com/178421
+ if (prot_data && !IsChrome(prot_data->renderer_type()))
prot_data->Invalidate();
// We are just pass through at this point, avoid false positive crash