Index: chrome/common/jstemplate_builder.cc |
=================================================================== |
--- chrome/common/jstemplate_builder.cc (revision 20623) |
+++ chrome/common/jstemplate_builder.cc (working copy) |
@@ -108,7 +108,7 @@ |
void AppendI18nTemplateProcessHtml(std::string* output) { |
output->append("<script>"); |
- output->append("i18nTemplate.process(document.documentElement, "); |
+ output->append("i18nTemplate.process(document, "); |
output->append("templateData);"); |
output->append("</script>"); |
} |