Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Unified Diff: chrome/browser/resources/print_preview/search/destination_search.js

Issue 588713002: Compile print_preview, part 3: reduce down to 185 errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@I_print_preview_2
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/print_preview/search/destination_search.js
diff --git a/chrome/browser/resources/print_preview/search/destination_search.js b/chrome/browser/resources/print_preview/search/destination_search.js
index 1d54473586aed1e2c199f320bbc6520465d5a59e..d3b5856dac08123fcc10a36501492c4aa88b7734 100644
--- a/chrome/browser/resources/print_preview/search/destination_search.js
+++ b/chrome/browser/resources/print_preview/search/destination_search.js
@@ -256,8 +256,8 @@ cr.define('print_preview', function() {
getAvailableListsHeight_: 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('.lists').offsetTop -
this.getChildElement('.cloudprint-promo').offsetHeight;
},

Powered by Google App Engine
This is Rietveld 408576698