Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Unified Diff: remoting/host/plugin/host_plugin.cc

Issue 12179013: Revert 180433 because build\some.gyp was added to the CL by mistake. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/installer/win/parameters.json ('k') | remoting/host/remoting_desktop.ver » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/plugin/host_plugin.cc
===================================================================
--- remoting/host/plugin/host_plugin.cc (revision 180437)
+++ remoting/host/plugin/host_plugin.cc (working copy)
@@ -450,9 +450,12 @@
} // namespace
#if defined(OS_WIN)
+HMODULE g_hModule = NULL;
+
BOOL APIENTRY DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpReserved) {
switch (dwReason) {
case DLL_PROCESS_ATTACH:
+ g_hModule = hModule;
DisableThreadLibraryCalls(hModule);
break;
case DLL_PROCESS_DETACH:
« no previous file with comments | « remoting/host/installer/win/parameters.json ('k') | remoting/host/remoting_desktop.ver » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698