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

Unified Diff: chrome/browser/resources/print_preview/component.js

Issue 2863183004: Print Preview: Fix top level directory compile errors (Closed)
Patch Set: Address comments Created 3 years, 7 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/component.js
diff --git a/chrome/browser/resources/print_preview/component.js b/chrome/browser/resources/print_preview/component.js
index 0b53d1e875ad412ef6c040c9b86d4b40fc6e72e2..5431b74e5cae69c4053a2d5f8632b73f85ad6c2c 100644
--- a/chrome/browser/resources/print_preview/component.js
+++ b/chrome/browser/resources/print_preview/component.js
@@ -35,7 +35,7 @@ cr.define('print_preview', function() {
* @private
*/
this.children_ = [];
- };
+ }
Component.prototype = {
__proto__: cr.EventTarget.prototype,
@@ -165,7 +165,8 @@ cr.define('print_preview', function() {
* @return {!HTMLElement} Element selected by the given query.
*/
getChildElement: function(query) {
- return assert(this.element_.querySelector(query));
+ return /** @type {!HTMLElement} */ (
+ assert(this.element_.querySelector(query)));
},
/**

Powered by Google App Engine
This is Rietveld 408576698