Index: chrome_elf/blacklist/test/blacklist_test.cc |
diff --git a/chrome_elf/blacklist/test/blacklist_test.cc b/chrome_elf/blacklist/test/blacklist_test.cc |
index 2e3f9a4af66b14935ef9b438d481559a7c2003dd..4f9859db9cc93adc0133e28ab690daffbc9eb4d4 100644 |
--- a/chrome_elf/blacklist/test/blacklist_test.cc |
+++ b/chrome_elf/blacklist/test/blacklist_test.cc |
@@ -32,7 +32,7 @@ extern "C" { |
// When modifying the blacklist in the test process, use the exported test dll |
// functions on the test blacklist dll, not the ones linked into the test |
// executable itself. |
-__declspec(dllimport) bool TestDll_AddDllsFromRegistryToBlacklist(); |
+__declspec(dllimport) void TestDll_AddDllsFromRegistryToBlacklist(); |
__declspec(dllimport) bool TestDll_AddDllToBlacklist(const wchar_t* dll_name); |
__declspec(dllimport) bool TestDll_IsBlacklistInitialized(); |
__declspec(dllimport) bool TestDll_RemoveDllFromBlacklist( |
@@ -240,7 +240,7 @@ TEST_F(BlacklistTest, AddDllsFromRegistryToBlacklist) { |
test_data[i].dll_name); |
} |
- EXPECT_TRUE(TestDll_AddDllsFromRegistryToBlacklist()); |
+ TestDll_AddDllsFromRegistryToBlacklist(); |
CheckBlacklistedDllsNotLoaded(); |
} |