diff --git a/closure/goog/graphics/canvaselement.js b/closure/goog/graphics/canvaselement.js
index <HASH>..<HASH> 100644
--- a/closure/goog/graphics/canvaselement.js
+++ b/closure/goog/graphics/canvaselement.js
@@ -626,7 +626,8 @@ goog.graphics.CanvasTextElement.prototype.updateText_ = function() {
   if (this.x1_ == this.x2_) {
     // Special case vertical text
     this.innerElement_.innerHTML =
-        goog.array.map(this.text_.split(''), goog.string.htmlEscape).
+        goog.array.map(this.text_.split(''),
+            function(entry) { return goog.string.htmlEscape(entry); }).
             join('<br>');
   } else {
     this.innerElement_.innerHTML = goog.string.htmlEscape(this.text_);
Don't pass the extra parameters of goog.array.map callback to the
htmlEscape function.

R=chrishenry
DELTA=2  (1 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=<I>


git-svn-id: <URL>