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

Unified Diff: chrome/browser/resources/instant/instant.js

Issue 12386019: Instant: Use only one hidden WebContents per profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/instant/instant.js
diff --git a/chrome/browser/resources/instant/instant.js b/chrome/browser/resources/instant/instant.js
index 407871b2c71c7d665112fde00c8732160f2259b7..840929017b1879fecc9e0fdc578b3ab3dc7bd1c8 100644
--- a/chrome/browser/resources/instant/instant.js
+++ b/chrome/browser/resources/instant/instant.js
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -64,8 +64,7 @@ var instantConfig = (function() {
row.appendChild(input);
var units = createElementWithClass('div', 'row-units');
- if (field.units)
- units.innerHTML = field.units;
+ if (field.units) units.innerHTML = field.units;
row.appendChild(units);
$('instant-form').appendChild(row);
@@ -118,9 +117,7 @@ var instantConfig = (function() {
value = parseFloat($(prefName).value);
else
value = $(prefName).value;
- chrome.send(
- 'setPreferenceValue',
- [prefName, value]);
+ chrome.send('setPreferenceValue', [prefName, value]);
}
/**

Powered by Google App Engine
This is Rietveld 408576698