| Index: chrome/browser/chromeos/login/registration_screen.cc
|
| ===================================================================
|
| --- chrome/browser/chromeos/login/registration_screen.cc (revision 133597)
|
| +++ chrome/browser/chromeos/login/registration_screen.cc (working copy)
|
| @@ -42,6 +42,11 @@
|
| ///////////////////////////////////////////////////////////////////////////////
|
| // RegistrationView, protected:
|
|
|
| +RegistrationView::RegistrationView(content::BrowserContext* browser_context)
|
| + : dom_view_(new WebPageDomView(browser_context)) {
|
| +}
|
| +
|
| +
|
| WebPageDomView* RegistrationView::dom_view() {
|
| return dom_view_;
|
| }
|
| @@ -71,13 +76,13 @@
|
| StartTimeoutTimer();
|
| GURL url(kRegistrationHostPageUrl);
|
| Profile* profile = ProfileManager::GetDefaultProfile();
|
| - view()->InitDOM(profile, SiteInstance::CreateForURL(profile, url));
|
| + view()->InitWebView(SiteInstance::CreateForURL(profile, url));
|
| view()->SetWebContentsDelegate(this);
|
| view()->LoadURL(url);
|
| }
|
|
|
| RegistrationView* RegistrationScreen::AllocateView() {
|
| - return new RegistrationView();
|
| + return new RegistrationView(ProfileManager::GetDefaultProfile());
|
| }
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|