diff --git a/closure/goog/dom/classlist.js b/closure/goog/dom/classlist.js
index <HASH>..<HASH> 100644
--- a/closure/goog/dom/classlist.js
+++ b/closure/goog/dom/classlist.js
@@ -146,8 +146,9 @@ goog.dom.classlist.remove = goog.dom.classlist.NATIVE_DOM_TOKEN_LIST_ ?
  */
 goog.dom.classlist.removeAll = goog.dom.classlist.NATIVE_DOM_TOKEN_LIST_ ?
     function(element, classesToRemove) {
-      goog.array.forEach(classesToRemove,
-          goog.partial(goog.dom.classlist.remove, element));
+      goog.array.forEach(classesToRemove, function(className) {
+        goog.dom.classlist.remove(element, className);
+      });
     } :
     function(element, classesToRemove) {
       // Filter out those classes in classesToRemove.
Optimized goog.dom.classlist.removeAll.
goog.partial is slow because it has to create the 'arguments' array at every call.

R=jeffschiller,gboyer
DELTA=3  (1 added, 0 deleted, 2 changed)


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


git-svn-id: <URL>