Index: src/plugin/PluginTabBase.cpp |
=================================================================== |
--- a/src/plugin/PluginTabBase.cpp |
+++ b/src/plugin/PluginTabBase.cpp |
@@ -83,11 +83,11 @@ |
m_isActivated = true; |
} |
-DWORD WINAPI FilterLoader(void* thisPtrVoid) |
+DWORD WINAPI FilterLoader(LPVOID threadParam) |
Oleksandr
2013/09/05 22:47:40
http://codereview.adblockplus.org/11427013/diff/80
|
{ |
- CPluginTabBase* thisPtr = (CPluginTabBase*)thisPtrVoid; |
- thisPtr->m_filter->LoadHideFilters(CPluginClient::GetInstance()->GetElementHidingSelectors(thisPtr->GetDocumentDomain().GetString())); |
- SetEvent(thisPtr->m_filter->hideFiltersLoadedEvent); |
+ CPluginTabBase* tabBase = (CPluginTabBase*)threadParam; |
+ tabBase->m_filter->LoadHideFilters(CPluginClient::GetInstance()->GetElementHidingSelectors(tabBase->GetDocumentDomain().GetString())); |
+ SetEvent(tabBase->m_filter->hideFiltersLoadedEvent); |
return 0; |
} |