summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/test_with_web_server.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/test/test_with_web_server.cc')
-rw-r--r--chrome_frame/test/test_with_web_server.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/test/test_with_web_server.cc b/chrome_frame/test/test_with_web_server.cc
index ca84ec6..7a668db 100644
--- a/chrome_frame/test/test_with_web_server.cc
+++ b/chrome_frame/test/test_with_web_server.cc
@@ -295,7 +295,7 @@ void ChromeFrameTestWithWebServer::VersionTest(BrowserKind browser,
scoped_ptr<Version> ver_user(InstallUtil::GetChromeVersion(dist, false));
ASSERT_TRUE(ver_system.get() || ver_user.get());
- bool system_install = ver_system.get() ? true : false;
+ bool system_install = ver_system != NULL;
FilePath cf_dll_path(installer::GetChromeInstallPath(system_install, dist));
cf_dll_path = cf_dll_path.Append(UTF8ToWide(
ver_system.get() ? ver_system->GetString() : ver_user->GetString()));