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

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

Issue 12560002: Change var blah_blah -> blahBlah. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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/profiler/profiler.js
diff --git a/chrome/browser/resources/profiler/profiler.js b/chrome/browser/resources/profiler/profiler.js
index 86724b9b4c2263211fb580d3dfe46e1d625f63ad..156e806e03b2cb8da574486fc832e34483690eb6 100644
--- a/chrome/browser/resources/profiler/profiler.js
+++ b/chrome/browser/resources/profiler/profiler.js
@@ -2088,25 +2088,25 @@ var MainView = (function() {
// Scan through our sort order and see if we are already sorted on this
// key. If so, reverse that sort ordering.
- var found_i = -1;
+ var foundIndex = -1;
for (var i = 0; i < this.currentSortKeys_.length; ++i) {
var curKey = this.currentSortKeys_[i];
if (sortKeysMatch(curKey, key)) {
this.currentSortKeys_[i] = reverseSortKey(curKey);
- found_i = i;
+ foundIndex = i;
break;
}
}
if (event.altKey) {
- if (found_i == -1) {
+ if (foundIndex == -1) {
// If we weren't already sorted on the column that was alt-clicked,
// then add it to our sort.
this.currentSortKeys_.push(key);
}
} else {
- if (found_i != 0 ||
- !sortKeysMatch(this.currentSortKeys_[found_i], key)) {
+ if (foundIndex != 0 ||
+ !sortKeysMatch(this.currentSortKeys_[foundIndex], key)) {
// If the column we left-clicked wasn't already our primary column,
// make it so.
this.currentSortKeys_ = [key];

Powered by Google App Engine
This is Rietveld 408576698