summaryrefslogtreecommitdiffstats
path: root/base/mac_util_unittest.cc
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 15:21:50 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 15:21:50 +0000
commit5418f47e35f5a6c1b6a3248a4927cb2fa4b5aee1 (patch)
treef51236e605d3c64067a8ee8aa4a4fc5d84d69d71 /base/mac_util_unittest.cc
parent33b6322f129fc660dbb1aa2e4ef20fe533aad439 (diff)
downloadchromium_src-5418f47e35f5a6c1b6a3248a4927cb2fa4b5aee1.zip
chromium_src-5418f47e35f5a6c1b6a3248a4927cb2fa4b5aee1.tar.gz
chromium_src-5418f47e35f5a6c1b6a3248a4927cb2fa4b5aee1.tar.bz2
Try a new approach to fixing IAT unpatch crashes when the DLL is gone.
Have the IAT patcher take some "ownership" of the DLL, by taking a library name and then calling LoadLibrary() / FreeLibrary() to manage the reference count. This means as long is there isn't some other reference count balancing bug happening in the process, the DLL will never be unloaded while we are patched. This effectively reverts r9929, the VirtualQuery additional checks are removed. BUG=7701 Review URL: http://codereview.chromium.org/21453 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10467 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/mac_util_unittest.cc')
0 files changed, 0 insertions, 0 deletions