Index: chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc |
diff --git a/chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc b/chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc |
index bec62b2f10dec10335a8db10966571f2d9d8a655..30afabffa2319b9b2595507b98690b0b627b75a4 100644 |
--- a/chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc |
+++ b/chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc |
@@ -14,7 +14,6 @@ |
#include "chrome/browser/command_updater.h" |
#include "chrome/browser/password_manager/chrome_password_manager_client.h" |
#include "chrome/browser/profiles/profile.h" |
-#include "chrome/browser/ssl/security_state_model.h" |
#include "chrome/browser/ui/autofill/chrome_autofill_client.h" |
#include "chrome/browser/ui/browser.h" |
#include "chrome/browser/ui/content_settings/content_setting_bubble_model_delegate.h" |
@@ -160,9 +159,6 @@ |
} |
void SimpleWebViewDialog::Init() { |
- // Create the security state model that the toolbar model needs. |
- if (web_view_->GetWebContents()) |
- SecurityStateModel::CreateForWebContents(web_view_->GetWebContents()); |
toolbar_model_.reset(new ToolbarModelImpl(this)); |
set_background(views::Background::CreateSolidBackground(kDialogColor)); |