summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 22:10:06 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 22:10:06 +0000
commitc5ab18a10e5ab5f10fb5856cb83d3c4835fd9e8c (patch)
treeecdbda79a429120f5c8d254ca53bd9f8e35f59b6 /net/base
parent5ac07d5b0325c446b3f114755cd4c95c55f0ee41 (diff)
downloadchromium_src-c5ab18a10e5ab5f10fb5856cb83d3c4835fd9e8c.zip
chromium_src-c5ab18a10e5ab5f10fb5856cb83d3c4835fd9e8c.tar.gz
chromium_src-c5ab18a10e5ab5f10fb5856cb83d3c4835fd9e8c.tar.bz2
ChromeOS compile fix, attempt 2.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50901 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/network_change_notifier_linux.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/base/network_change_notifier_linux.cc b/net/base/network_change_notifier_linux.cc
index 64ac7c0..22be563 100644
--- a/net/base/network_change_notifier_linux.cc
+++ b/net/base/network_change_notifier_linux.cc
@@ -99,8 +99,8 @@ void NetworkChangeNotifierLinux::ListenForNotifications() {
// is functional in ChromeOS. This should be removed once this bug
// is properly fixed.
const int kObserverNotificationDelayMS = 500;
- MessageLoop::current()->PostDelayedTask(FROM_HERE, NewRunnableMethod(
- this, &NetworkChangeNotifier::NotifyObserversOfIPAddressChange),
+ MessageLoop::current()->PostDelayedTask(FROM_HERE, NewRunnableFunction(
+ &NetworkChangeNotifier::NotifyObserversOfIPAddressChange),
kObserverNotificationDelayMS);
#else
NotifyObserversOfIPAddressChange();