| 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 c9fc7b1c2c69da79be5e5a1be5c41f81a753f9ce..c44222922741627843836e109f2d9b975412a0c8 100644
|
| --- a/chrome/browser/supervised_user/supervised_user_interstitial.cc
|
| +++ b/chrome/browser/supervised_user/supervised_user_interstitial.cc
|
| @@ -253,8 +253,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);
|
| }
|
|
|