Index: components/captive_portal/captive_portal_detector_unittest.cc |
diff --git a/components/captive_portal/captive_portal_detector_unittest.cc b/components/captive_portal/captive_portal_detector_unittest.cc |
index 5a643a6d95711c82177ce0dffe41ef1ed83f98a3..32ffeb06daae2d69e753847a993a65a0d060403d 100644 |
--- a/components/captive_portal/captive_portal_detector_unittest.cc |
+++ b/components/captive_portal/captive_portal_detector_unittest.cc |
@@ -55,7 +55,7 @@ class CaptivePortalDetectorTest : public testing::Test, |
virtual ~CaptivePortalDetectorTest() {} |
virtual void SetUp() OVERRIDE { |
- CHECK(base::MessageLoopProxy::current()); |
+ CHECK(base::MessageLoopProxy::current().get()); |
scoped_refptr<net::URLRequestContextGetter> request_context_getter( |
new net::TestURLRequestContextGetter( |
base::MessageLoopProxy::current())); |