Index: chrome/browser/ui/webui/chromeos/login/login_ui.cc |
diff --git a/chrome/browser/ui/webui/chromeos/login/login_ui.cc b/chrome/browser/ui/webui/chromeos/login/login_ui.cc |
index 06723cf1447ea6b9918b038117d7e7346fbe8430..0b838152b0a6fe5c3617a76185bff052bec2d0cd 100644 |
--- a/chrome/browser/ui/webui/chromeos/login/login_ui.cc |
+++ b/chrome/browser/ui/webui/chromeos/login/login_ui.cc |
@@ -56,10 +56,7 @@ void LoginUIHTMLSource::StartDataRequest(const std::string& path, |
std::string full_html = html_operations_->GetFullHTML( |
login_html, localized_strings_.get()); |
- scoped_refptr<RefCountedBytes> html_bytes( |
- html_operations_->CreateHTMLBytes(full_html)); |
- SendResponse(request_id, |
- (html_bytes.get())); |
+ SendResponse(request_id, base::RefCountedString::TakeString(&full_html)); |
} |
std::string LoginUIHTMLSource::GetMimeType(const std::string&) const { |