Index: content/browser/android/content_view_core_impl.cc |
diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc |
index 6d44bf42cf7d1b0ae847b4d834c6293585a205eb..f5399acc8a9e5b9dfa3a85378f54896831147326 100644 |
--- a/content/browser/android/content_view_core_impl.cc |
+++ b/content/browser/android/content_view_core_impl.cc |
@@ -36,7 +36,6 @@ |
#include "content/browser/renderer_host/render_widget_host_impl.h" |
#include "content/browser/renderer_host/render_widget_host_view_android.h" |
#include "content/browser/screen_orientation/screen_orientation_dispatcher_host.h" |
-#include "content/browser/ssl/ssl_host_state.h" |
#include "content/browser/transition_request_manager.h" |
#include "content/browser/web_contents/web_contents_view_android.h" |
#include "content/common/frame_messages.h" |
@@ -47,6 +46,7 @@ |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/favicon_status.h" |
#include "content/public/browser/render_frame_host.h" |
+#include "content/public/browser/ssl_host_state_delegate.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/common/content_client.h" |
#include "content/public/common/content_switches.h" |
@@ -1421,9 +1421,10 @@ void ContentViewCoreImpl::UpdateImeAdapter(long native_ime_adapter, |
} |
void ContentViewCoreImpl::ClearSslPreferences(JNIEnv* env, jobject obj) { |
- SSLHostState* state = SSLHostState::GetFor( |
- web_contents_->GetController().GetBrowserContext()); |
- state->Clear(); |
+ web_contents_->GetController(). |
+ GetBrowserContext()-> |
+ GetSSLHostStateDelegate()-> |
+ Clear(); |
} |
void ContentViewCoreImpl::SetUseDesktopUserAgent( |