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

Unified Diff: chrome/browser/chromeos/login/network_screen.cc

Issue 4169001: Rewritten parts of NetworkLibrary to work around memory corruption that prev... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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/chromeos/login/network_screen.cc
===================================================================
--- chrome/browser/chromeos/login/network_screen.cc (revision 64441)
+++ chrome/browser/chromeos/login/network_screen.cc (working copy)
@@ -164,16 +164,16 @@
StopWaitingForConnection(
l10n_util::GetStringUTF16(IDS_STATUSBAR_NETWORK_DEVICE_ETHERNET));
} else if (network->wifi_connected()) {
- StopWaitingForConnection(ASCIIToUTF16(network->wifi_network().name()));
+ StopWaitingForConnection(ASCIIToUTF16(network->wifi_network()->name()));
} else if (network->cellular_connected()) {
- StopWaitingForConnection(ASCIIToUTF16(network->cellular_network().name()));
+ StopWaitingForConnection(ASCIIToUTF16(network->cellular_network()->name()));
} else if (network->ethernet_connecting()) {
WaitForConnection(
l10n_util::GetStringUTF16(IDS_STATUSBAR_NETWORK_DEVICE_ETHERNET));
} else if (network->wifi_connecting()) {
- WaitForConnection(ASCIIToUTF16(network->wifi_network().name()));
+ WaitForConnection(ASCIIToUTF16(network->wifi_network()->name()));
} else if (network->cellular_connecting()) {
- WaitForConnection(ASCIIToUTF16(network->cellular_network().name()));
+ WaitForConnection(ASCIIToUTF16(network->cellular_network()->name()));
} else {
StopWaitingForConnection(network_id_);
}
« no previous file with comments | « chrome/browser/chromeos/dom_ui/mobile_setup_ui.cc ('k') | chrome/browser/chromeos/login/network_screen_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698