Index: chrome_frame/protocol_sink_wrap.cc |
diff --git a/chrome_frame/protocol_sink_wrap.cc b/chrome_frame/protocol_sink_wrap.cc |
index 0ea330f5663d4463c391aa50054ea46ce8711041..64d9048098b18965e744ec80fdeb291a6974850e 100644 |
--- a/chrome_frame/protocol_sink_wrap.cc |
+++ b/chrome_frame/protocol_sink_wrap.cc |
@@ -232,9 +232,8 @@ bool IsAdditionallySupportedContentType(const wchar_t* status_text) { |
return true; |
} |
- Singleton<PolicySettings> policy; |
- if (policy->GetRendererForContentType(status_text) == |
- PolicySettings::RENDER_IN_CHROME_FRAME) { |
+ if (PolicySettings::GetInstance()->GetRendererForContentType( |
+ status_text) == PolicySettings::RENDER_IN_CHROME_FRAME) { |
return true; |
} |