| Index: trunk/src/chrome_elf/blacklist/blacklist.cc
|
| ===================================================================
|
| --- trunk/src/chrome_elf/blacklist/blacklist.cc (revision 251093)
|
| +++ trunk/src/chrome_elf/blacklist/blacklist.cc (working copy)
|
| @@ -60,10 +60,6 @@
|
| WOW64_UNKNOWN,
|
| };
|
|
|
| -// Record if the blacklist was successfully initialized so processes can easily
|
| -// determine if the blacklist is enabled for them.
|
| -bool g_blacklist_initialized = false;
|
| -
|
| WOW64Status GetWOW64StatusForCurrentProcess() {
|
| typedef BOOL (WINAPI* IsWow64ProcessFunc)(HANDLE, PBOOL);
|
| IsWow64ProcessFunc is_wow64_process = reinterpret_cast<IsWow64ProcessFunc>(
|
| @@ -276,10 +272,6 @@
|
| return size;
|
| }
|
|
|
| -bool IsBlacklistInitialized() {
|
| - return g_blacklist_initialized;
|
| -}
|
| -
|
| bool AddDllToBlacklist(const wchar_t* dll_name) {
|
| int blacklist_size = BlacklistSize();
|
| // We need to leave one space at the end for the null pointer.
|
| @@ -381,9 +373,6 @@
|
| }
|
| #endif
|
|
|
| - // Record that we have initialized the blacklist.
|
| - g_blacklist_initialized = true;
|
| -
|
| BYTE* thunk_storage = reinterpret_cast<BYTE*>(&g_thunk_storage);
|
|
|
| // Mark the thunk storage as readable and writeable, since we
|
|
|