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

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

Issue 10909124: Improves application state persistance. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Updates unit tests. Created 8 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/metrics.js
diff --git a/chrome/browser/resources/print_preview/metrics.js b/chrome/browser/resources/print_preview/metrics.js
index bdeaf141efbb8ccad2760a4bd521f041b76a711f..a791010997a15acfcf53a3641a895f4d29438bab 100644
--- a/chrome/browser/resources/print_preview/metrics.js
+++ b/chrome/browser/resources/print_preview/metrics.js
@@ -35,7 +35,7 @@ cr.define('print_preview', function() {
* @param {!print_preview.Metrics.Bucket} bucket Bucket to increment.
*/
increment: function(bucket) {
- chrome.send('reportDestinationEvent', bucket);
+ chrome.send('reportDestinationEvent', [bucket]);
}
};

Powered by Google App Engine
This is Rietveld 408576698