Index: chrome/browser/chromeos/login/captive_portal_window_browsertest.cc |
diff --git a/chrome/browser/chromeos/login/captive_portal_window_browsertest.cc b/chrome/browser/chromeos/login/captive_portal_window_browsertest.cc |
index 0e1a20dba2c78428d2a29b1421656aa2f5d6f3ea..3dc117b5fdc11fc4cf11ff4d1ffb3acb9689d254 100644 |
--- a/chrome/browser/chromeos/login/captive_portal_window_browsertest.cc |
+++ b/chrome/browser/chromeos/login/captive_portal_window_browsertest.cc |
@@ -75,13 +75,11 @@ class CaptivePortalWindowTest : public InProcessBrowserTest { |
virtual void SetUpOnMainThread() OVERRIDE { |
CHECK(LoginDisplayHostImpl::default_host()); |
- gfx::NativeWindow native_window = |
- LoginDisplayHostImpl::default_host()->GetNativeWindow(); |
content::WebContents* web_contents = |
LoginDisplayHostImpl::default_host()->GetWebUILoginView()-> |
GetWebContents(); |
captive_portal_window_proxy_.reset( |
- new CaptivePortalWindowProxy(&delegate_, native_window, web_contents)); |
+ new CaptivePortalWindowProxy(&delegate_, web_contents)); |
} |
private: |