| Index: chrome/browser/interstitials/security_interstitial_page.cc
|
| diff --git a/chrome/browser/interstitials/security_interstitial_page.cc b/chrome/browser/interstitials/security_interstitial_page.cc
|
| index 513219631c1fa5c538f47cd014931887e123ff34..dbc248acc9b887e6d47690e08c79425741172f46 100644
|
| --- a/chrome/browser/interstitials/security_interstitial_page.cc
|
| +++ b/chrome/browser/interstitials/security_interstitial_page.cc
|
| @@ -64,8 +64,9 @@ std::string SecurityInterstitialPage::GetHTMLContents() {
|
| base::DictionaryValue load_time_data;
|
| PopulateInterstitialStrings(&load_time_data);
|
| webui::SetFontAndTextDirection(&load_time_data);
|
| - base::StringPiece html(
|
| - ResourceBundle::GetSharedInstance().GetRawDataResource(
|
| - IDR_SECURITY_INTERSTITIAL_HTML));
|
| + std::string html = ResourceBundle::GetSharedInstance()
|
| + .GetRawDataResource(IDR_SECURITY_INTERSTITIAL_HTML)
|
| + .as_string();
|
| + webui::AppendWebUiCssTextDefaults(&html);
|
| return webui::GetI18nTemplateHtml(html, &load_time_data);
|
| }
|
|
|