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

Unified Diff: src/plugin/PluginClass.h

Issue 29330403: Issue #1467, #3397 - Rewrite the map from threads to tabs (Closed)
Patch Set: rebase to current tip / address comments Created Feb. 3, 2016, 5:22 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
Index: src/plugin/PluginClass.h
===================================================================
--- a/src/plugin/PluginClass.h
+++ b/src/plugin/PluginClass.h
@@ -41,7 +41,6 @@
class CPluginMimeFilterClient;
-
class ATL_NO_VTABLE CPluginClass :
public ATL::CComObjectRootEx<ATL::CComMultiThreadModel>,
public ATL::CComCoClass<CPluginClass, &CLSID_PluginClass>,
@@ -87,7 +86,7 @@
STDMETHOD(Exec)(const GUID*, DWORD nCmdID, DWORD, VARIANTARG*, VARIANTARG* pvaOut);
- static CPluginTab* GetTab(DWORD dwThreadId);
+ static CPluginTab* GetTabCurrentThread();
CPluginTab* GetTab();
void UpdateStatusBar();
@@ -177,7 +176,6 @@
static HINSTANCE s_hUxtheme;
static std::set<CPluginClass*> s_instances;
- static std::map<DWORD,CPluginClass*> s_threadInstances;
static CComAutoCriticalSection s_criticalSectionLocal;
static CComAutoCriticalSection s_criticalSectionWindow;
@@ -188,5 +186,4 @@
OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass)
-
#endif // _PLUGIN_CLASS_H_

Powered by Google App Engine
This is Rietveld