summaryrefslogtreecommitdiffstats
path: root/chrome/common/jstemplate_builder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/jstemplate_builder.cc')
-rw-r--r--chrome/common/jstemplate_builder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/jstemplate_builder.cc b/chrome/common/jstemplate_builder.cc
index b47fed1..bb3a78f 100644
--- a/chrome/common/jstemplate_builder.cc
+++ b/chrome/common/jstemplate_builder.cc
@@ -108,7 +108,7 @@ void AppendI18nTemplateSourceHtml(std::string* output) {
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>");
}