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

Unified Diff: chrome/browser/geolocation/wifi_data_provider_linux.cc

Issue 570006: Revert 37989 - unit test failed on Mac builder despite passing on try server... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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/browser/geolocation/wifi_data_provider_linux.cc
===================================================================
--- chrome/browser/geolocation/wifi_data_provider_linux.cc (revision 37991)
+++ chrome/browser/geolocation/wifi_data_provider_linux.cc (working copy)
@@ -80,7 +80,7 @@
}
bool LinuxWifiDataProvider::GetData(WifiData *data) {
- DCHECK(data);
+ assert(data);
MutexLock lock(&data_mutex_);
*data = wifi_data_;
// If we've successfully completed a scan, indicate that we have all of the
@@ -219,7 +219,7 @@
// Parse results.
- DCHECK(access_points);
+ assert(access_points);
access_points->clear();
std::string::size_type start = result.find(delimiter);
while (start != std::string::npos) {
« no previous file with comments | « chrome/browser/geolocation/wifi_data_provider_common_win.cc ('k') | chrome/browser/geolocation/wifi_data_provider_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698