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

Unified Diff: src/plugin/PluginWbPassThrough.cpp

Issue 29330403: Issue #1467, #3397 - Rewrite the map from threads to tabs (Closed)
Patch Set: add comment; new function body Created July 17, 2016, 4:01 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/PluginWbPassThrough.cpp
===================================================================
--- a/src/plugin/PluginWbPassThrough.cpp
+++ b/src/plugin/PluginWbPassThrough.cpp
@@ -356,7 +356,7 @@
m_boundDomain = TrimString(m_boundDomain);
m_contentType = InferContentType(ToUtf16String(ExtractHttpAcceptHeader(m_spTargetProtocol)), m_boundDomain, src);
- CPluginTab* tab = CPluginClass::GetTab(::GetCurrentThreadId());
+ CPluginTab* tab = CPluginClass::GetTabForCurrentThread();
CPluginClient* client = CPluginClient::GetInstance();
if (tab && client)

Powered by Google App Engine
This is Rietveld