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

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

Issue 63343004: Remove DialogDelegate::UseNewStyle and unused code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Restore [D]CHECKs and loop scoping. Created 7 years, 1 month 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/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:
« no previous file with comments | « chrome/browser/chromeos/login/captive_portal_view.cc ('k') | chrome/browser/chromeos/login/captive_portal_window_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698