Index: chrome_frame/http_negotiate.cc |
=================================================================== |
--- chrome_frame/http_negotiate.cc (revision 60165) |
+++ chrome_frame/http_negotiate.cc (working copy) |
@@ -443,7 +443,8 @@ |
if (hr == S_OK) { |
std::string updated_headers; |
- if (IsGcfDefaultRenderer() && IsOptInUrl(url)) { |
+ if (IsGcfDefaultRenderer() && |
+ RENDERER_TYPE_CHROME_DEFAULT_RENDERER == RendererTypeForUrl(url)) { |
// Replace the user-agent header with Chrome's. |
updated_headers = ReplaceOrAddUserAgent(*additional_headers, |
http_utils::GetChromeUserAgent()); |