| 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..46b584815844e2a8361a47b629506b101e43da36 100644
|
| --- a/chrome/browser/interstitials/security_interstitial_page.cc
|
| +++ b/chrome/browser/interstitials/security_interstitial_page.cc
|
| @@ -63,9 +63,9 @@ base::string16 SecurityInterstitialPage::GetFormattedHostName() const {
|
| 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);
|
| }
|
|
|