Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 342c7f607e6f1e3303ff0f0f8c92cc63f7ced46a..8a174a6046a0a3ca0a90891898f50cbd032bdbab 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -1981,12 +1981,12 @@ void ChromeContentBrowserClient::AllowCertificateError( |
int cert_error, |
const net::SSLInfo& ssl_info, |
const GURL& request_url, |
- ResourceType::Type resource_type, |
+ ResourceType resource_type, |
bool overridable, |
bool strict_enforcement, |
const base::Callback<void(bool)>& callback, |
content::CertificateRequestResultType* result) { |
- if (resource_type != ResourceType::MAIN_FRAME) { |
+ if (resource_type != content::RESOURCE_TYPE_MAIN_FRAME) { |
// A sub-resource has a certificate error. The user doesn't really |
// have a context for making the right decision, so block the |
// request hard, without an info bar to allow showing the insecure |