Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / resources / print_preview / settings / advanced_settings / advanced_settings.js
index 9b6bc95..969b19d 100644 (file)
@@ -123,8 +123,8 @@ cr.define('print_preview', function() {
     getAvailableContentHeight_: function() {
       var elStyle = window.getComputedStyle(this.getElement());
       return this.getElement().offsetHeight -
-          parseInt(elStyle.getPropertyValue('padding-top')) -
-          parseInt(elStyle.getPropertyValue('padding-bottom')) -
+          parseInt(elStyle.getPropertyValue('padding-top'), 10) -
+          parseInt(elStyle.getPropertyValue('padding-bottom'), 10) -
           this.getChildElement('.settings-area').offsetTop -
           this.getChildElement('.action-area').offsetHeight;
     },