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

Unified Diff: chrome_frame/test/perf/chrome_frame_perftest.cc

Issue 6090006: Regkey functions return error code instead of bool (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | « chrome_frame/test/chrome_frame_test_utils.cc ('k') | chrome_frame/test/policy_settings_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/perf/chrome_frame_perftest.cc
===================================================================
--- chrome_frame/test/perf/chrome_frame_perftest.cc (revision 71761)
+++ chrome_frame/test/perf/chrome_frame_perftest.cc (working copy)
@@ -1105,7 +1105,7 @@
base::win::RegKey flash_key(HKEY_CLASSES_ROOT, kFlashControlKey, KEY_READ);
std::wstring plugin_path;
- ASSERT_TRUE(flash_key.ReadValue(L"", &plugin_path));
+ ASSERT_EQ(ERROR_SUCCESS, flash_key.ReadValue(L"", &plugin_path));
ASSERT_FALSE(plugin_path.empty());
FilePath flash_path = FilePath::FromWStringHack(plugin_path);
@@ -1126,7 +1126,7 @@
KEY_READ);
std::wstring plugin_path;
- ASSERT_TRUE(silverlight_key.ReadValue(L"", &plugin_path));
+ ASSERT_EQ(ERROR_SUCCESS, silverlight_key.ReadValue(L"", &plugin_path));
ASSERT_FALSE(plugin_path.empty());
FilePath silverlight_path = FilePath::FromWStringHack(plugin_path);
« no previous file with comments | « chrome_frame/test/chrome_frame_test_utils.cc ('k') | chrome_frame/test/policy_settings_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698