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

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
Index: chrome_frame/test/perf/chrome_frame_perftest.cc
===================================================================
--- chrome_frame/test/perf/chrome_frame_perftest.cc (revision 71561)
+++ chrome_frame/test/perf/chrome_frame_perftest.cc (working copy)
@@ -1095,7 +1095,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);
@@ -1116,7 +1116,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);

Powered by Google App Engine
This is Rietveld 408576698