Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / resources / print_preview / data / destination.js
index 11af3f4..943e325 100644 (file)
@@ -358,7 +358,7 @@ cr.define('print_preview', function() {
       } else {
         offlineMessageId = 'offline';
       }
-      return localStrings.getString(offlineMessageId);
+      return loadTimeData.getString(offlineMessageId);
     },
 
     /**
@@ -400,9 +400,9 @@ cr.define('print_preview', function() {
     },
 
     /**
-     * @param {?boolean} Whether the user has accepted the terms-of-service of
-     *     the print destination or {@code null} if a terms-of-service does not
-     *     apply.
+     * @param {?boolean} isTosAccepted Whether the user has accepted the
+     *     terms-of-service of the print destination or {@code null} if
+     *     a terms-of-service does not apply.
      */
     set isTosAccepted(isTosAccepted) {
       this.isTosAccepted_ = isTosAccepted;