Index: src/plugin/AdblockPlusDomTraverser.cpp |
=================================================================== |
--- a/src/plugin/AdblockPlusDomTraverser.cpp |
+++ b/src/plugin/AdblockPlusDomTraverser.cpp |
@@ -49,7 +49,7 @@ |
{ |
CComVariant vAttr; |
- if (SUCCEEDED(pEl->getAttribute(L"src", 0, &vAttr)) && vAttr.vt == VT_BSTR && ::SysStringLen(vAttr.bstrVal) > 0) |
+ if (SUCCEEDED(pEl->getAttribute(ATL::CComBSTR(L"src"), 0, &vAttr)) && vAttr.vt == VT_BSTR && ::SysStringLen(vAttr.bstrVal) > 0) |
Eric
2014/10/09 13:54:01
As I said in the previous review, I object to usin
sergei
2014/10/16 08:53:25
- I would say that speaking about maintainability
Oleksandr
2014/10/17 07:38:02
- I agree that using ATL's class is better then ou
Eric
2014/10/20 04:06:24
The main way that the code becomes cleaner by usin
Eric
2014/10/20 04:06:24
What we decided was that there was little rush to
Eric
2014/10/20 04:06:24
From what I can tell, I don't think you spent any
Eric
2014/10/20 04:06:24
It is possible to define a class for the kind of e
Oleksandr
2014/10/21 23:53:19
I really don't think we should be having prolonged
|
{ |
CString src = vAttr.bstrVal; |
CPluginClient::UnescapeUrl(src); |