| Index: chrome/browser/chromeos/login/registration_screen.cc
|
| diff --git a/chrome/browser/chromeos/login/registration_screen.cc b/chrome/browser/chromeos/login/registration_screen.cc
|
| index c73b2f61fa7f36ac65259cc576448d049ca19eb7..395331663881af3d92d6601e6dd2da440fde8bcf 100644
|
| --- a/chrome/browser/chromeos/login/registration_screen.cc
|
| +++ b/chrome/browser/chromeos/login/registration_screen.cc
|
| @@ -56,9 +56,6 @@ WebPageDomView* RegistrationView::dom_view() {
|
| // RegistrationScreen, public:
|
| RegistrationScreen::RegistrationScreen(ViewScreenDelegate* delegate)
|
| : ViewScreen<RegistrationView>(delegate) {
|
| - if (!host_page_url_.get())
|
| - set_registration_host_page_url(GURL(kRegistrationHostPageUrl));
|
| -
|
| ChildProcessSecurityPolicy::GetInstance()->RegisterWebSafeScheme(
|
| chrome::kCrosScheme);
|
| net::URLRequestFilter::GetInstance()->AddHostnameHandler(
|
| @@ -67,14 +64,6 @@ RegistrationScreen::RegistrationScreen(ViewScreenDelegate* delegate)
|
| &RegistrationScreen::Factory);
|
| }
|
|
|
| -// static
|
| -void RegistrationScreen::set_registration_host_page_url(const GURL& url) {
|
| - host_page_url_.reset(new GURL(url));
|
| -}
|
| -
|
| -// static
|
| -scoped_ptr<GURL> RegistrationScreen::host_page_url_;
|
| -
|
| ///////////////////////////////////////////////////////////////////////////////
|
| // RegistrationScreen, ViewScreen implementation:
|
| void RegistrationScreen::CreateView() {
|
| @@ -84,7 +73,7 @@ void RegistrationScreen::CreateView() {
|
|
|
| void RegistrationScreen::Refresh() {
|
| StartTimeoutTimer();
|
| - GURL url(*host_page_url_);
|
| + GURL url(kRegistrationHostPageUrl);
|
| Profile* profile = ProfileManager::GetDefaultProfile();
|
| view()->InitDOM(profile,
|
| SiteInstance::CreateSiteInstanceForURL(profile, url));
|
|
|