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

Unified Diff: src/plugin/passthroughapp/SinkPolicy.inl

Issue 29331579: Issue #1484 - Remove unused argument from 'WBPassthruSink::OnStart' (Closed)
Patch Set: Created Nov. 30, 2015, 12:19 p.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/passthroughapp/SinkPolicy.inl
===================================================================
--- a/src/plugin/passthroughapp/SinkPolicy.inl
+++ b/src/plugin/passthroughapp/SinkPolicy.inl
@@ -379,10 +379,9 @@
{
ATLASSERT(pTargetProtocol != 0);
- bool handled = false;
Sink* pSink = GetSink(static_cast<const Protocol*>(this));
HRESULT hr = pSink->OnStart(szUrl, pOIProtSink, pOIBindInfo, grfPI,
- dwReserved, pTargetProtocol, handled);
+ dwReserved, pTargetProtocol);
CComPtr<IInternetProtocolSink> spSink;
CComPtr<IInternetBindInfo> spBindInfo;
@@ -396,7 +395,7 @@
hr = pSink->QueryInterface(IID_IInternetBindInfo, reinterpret_cast<void**>(&spBindInfo));
ATLASSERT(SUCCEEDED(hr) && spBindInfo != 0);
}
- if (SUCCEEDED(hr) && !handled)
+ if (SUCCEEDED(hr))
{
hr = pTargetProtocol->Start(szUrl, spSink, spBindInfo, grfPI, dwReserved);
}
« 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