From b2e23e306d03ef87a253573cb7dc0ac73c34cb05 Mon Sep 17 00:00:00 2001 From: "chocobo@chromium.org" Date: Wed, 28 Jul 2010 07:03:55 +0000 Subject: Port network options to DOM UI. Hook up all the functionality. UI touchup work will be in another changelist. BUG=chromium-os:4744 BUG=49030 TEST=manual Review URL: http://codereview.chromium.org/3036020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53919 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/chromeos/options/internet_page_view.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/chromeos/options') diff --git a/chrome/browser/chromeos/options/internet_page_view.cc b/chrome/browser/chromeos/options/internet_page_view.cc index 71f3e55..437f70f 100644 --- a/chrome/browser/chromeos/options/internet_page_view.cc +++ b/chrome/browser/chromeos/options/internet_page_view.cc @@ -474,12 +474,12 @@ void RememberedSection::ButtonClicked(int button, int connection_type, int id) { if (connection_type == TYPE_CELLULAR) { if (static_cast(celluar_networks_.size()) > id) { CrosLibrary::Get()->GetNetworkLibrary()->ForgetWirelessNetwork( - celluar_networks_[id]); + celluar_networks_[id].service_path()); } } else if (connection_type == TYPE_WIFI) { if (static_cast(wifi_networks_.size()) > id) { CrosLibrary::Get()->GetNetworkLibrary()->ForgetWirelessNetwork( - wifi_networks_[id]); + wifi_networks_[id].service_path()); } } else { NOTREACHED(); -- cgit v1.1