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

Unified Diff: src/plugin/PluginFilter.cpp

Issue 29331537: Noissue - Change argument of 'GetHtmlElementAttribute()' to 'std::wstring'
Patch Set: rebase only Created May 17, 2016, 7:40 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/engine/NotificationWindow.cpp ('k') | src/shared/MsHTMLUtils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginFilter.cpp
===================================================================
--- a/src/plugin/PluginFilter.cpp
+++ b/src/plugin/PluginFilter.cpp
@@ -355,8 +355,7 @@
}
else
{
- CComBSTR attrArgument(attrIt->m_attr.length(), attrIt->m_attr.c_str());
- auto x = GetHtmlElementAttribute(*pEl, attrArgument);
+ auto x = GetHtmlElementAttribute(*pEl, attrIt->m_attr);
attrFound = x.isAttributeFound;
if (attrFound)
{
« no previous file with comments | « src/engine/NotificationWindow.cpp ('k') | src/shared/MsHTMLUtils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld