| Index: chrome/browser/supervised_user/supervised_user_interstitial.cc
|
| diff --git a/chrome/browser/supervised_user/supervised_user_interstitial.cc b/chrome/browser/supervised_user/supervised_user_interstitial.cc
|
| index 5572eba9f40fe0dd249e49255898fa0e0cb3205e..96d022dda51d81108bf3a546c29a9eea04e4e6d6 100644
|
| --- a/chrome/browser/supervised_user/supervised_user_interstitial.cc
|
| +++ b/chrome/browser/supervised_user/supervised_user_interstitial.cc
|
| @@ -269,8 +269,11 @@ std::string SupervisedUserInterstitial::GetHTMLContents() {
|
|
|
| webui::SetFontAndTextDirection(&strings);
|
|
|
| - base::StringPiece html(ResourceBundle::GetSharedInstance().GetRawDataResource(
|
| - IDR_SUPERVISED_USER_BLOCK_INTERSTITIAL_HTML));
|
| + std::string html =
|
| + ResourceBundle::GetSharedInstance()
|
| + .GetRawDataResource(IDR_SUPERVISED_USER_BLOCK_INTERSTITIAL_HTML)
|
| + .as_string();
|
| + webui::AppendWebUiCssTextDefaults(&html);
|
|
|
| return webui::GetI18nTemplateHtml(html, &strings);
|
| }
|
|
|