Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/SinkPolicy.inl

Issue 5020125841326080: Issue 1669 - Report blocked object subrequests as failed, not as empty HTML (Closed)
Patch Set: Moved to WBPassthruSink::BeginningTransaction. Renamed the m_blockedInTransaction. Created Dec. 9, 2014, 10:16 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/plugin/PluginWbPassThrough.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/SinkPolicy.inl
===================================================================
--- a/src/plugin/SinkPolicy.inl
+++ b/src/plugin/SinkPolicy.inl
@@ -383,7 +383,7 @@
{
hr = pTargetProtocol->Start(szUrl, spSink, spBindInfo, grfPI, dwReserved);
}
- if (E_ABORT == hr && pSink->m_blockedInTransaction)
+ if (E_ABORT == hr && pSink->m_isCustomResponse)
{
static_cast<Protocol*>(this)->m_shouldSupplyCustomContent = true;
pSink->m_spInternetProtocolSink->ReportProgress(BINDSTATUS_MIMETYPEAVAILABLE, L"text/html");
« no previous file with comments | « src/plugin/PluginWbPassThrough.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld