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

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: fix assert 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 955984ac124100930ed67f8c13087a313adcfc9f..9baa9263dc46422b808162fa3c9180e2834ca203 100644
--- a/chrome/browser/resources/print_preview/search/destination_search.js
+++ b/chrome/browser/resources/print_preview/search/destination_search.js
@@ -293,8 +293,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('.invitation-container').offsetHeight -
this.getChildElement('.cloudprint-promo').offsetHeight;

Powered by Google App Engine
This is Rietveld 408576698