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

Unified Diff: chrome/browser/resources/print_preview/data/ticket_items/ticket_item.js

Issue 606213002: Compile print_preview, part 6: reduce down to 48 errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@J_print_preview_5
Patch Set: vitalybuka@'s review 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/data/ticket_items/ticket_item.js
diff --git a/chrome/browser/resources/print_preview/data/ticket_items/ticket_item.js b/chrome/browser/resources/print_preview/data/ticket_items/ticket_item.js
index dc634c5c543991e0a2aea2d9c06ed35c0402be80..ff8a593e54e17723ba63455f34e00eda40beb711 100644
--- a/chrome/browser/resources/print_preview/data/ticket_items/ticket_item.js
+++ b/chrome/browser/resources/print_preview/data/ticket_items/ticket_item.js
@@ -100,7 +100,7 @@ cr.define('print_preview.ticket_items', function() {
throw Error('Abstract method not overridden');
},
- /** @return {print_preview.ValueType} The value of the ticket item. */
+ /** @return {?} The value of the ticket item. */
getValue: function() {
if (this.isCapabilityAvailable()) {
if (this.value_ == null) {
@@ -144,7 +144,7 @@ cr.define('print_preview.ticket_items', function() {
// Don't lose requested value if capability is not available.
this.updateValueInternal(value);
if (this.appState_) {
- this.appState_.persistField(this.field_, value);
+ this.appState_.persistField(assert(this.field_), value);
}
if (sendUpdateEvent)
cr.dispatchSimpleEvent(this, TicketItem.EventType.CHANGE);

Powered by Google App Engine
This is Rietveld 408576698