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

Unified Diff: chrome/test/chromedriver/chrome/device_manager_unittest.cc

Issue 388863003: fixed uninit error in chromedriver unittests Device::ForwardDevtoolsPort (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/chrome/device_manager_unittest.cc
diff --git a/chrome/test/chromedriver/chrome/device_manager_unittest.cc b/chrome/test/chromedriver/chrome/device_manager_unittest.cc
index cb12f010e1be267268c2b7fa9ef460d9376bf896..05e789bae37370c94d8a70f85167f721060c64b9 100644
--- a/chrome/test/chromedriver/chrome/device_manager_unittest.cc
+++ b/chrome/test/chromedriver/chrome/device_manager_unittest.cc
@@ -67,6 +67,7 @@ class FakeAdb : public Adb {
virtual Status GetPidByName(const std::string& device_serial,
const std::string& process_name,
int* pid) OVERRIDE {
+ *pid = 0; // avoid uninit error crbug.com/393231
return Status(kOk);
}
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698