summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/cocoa/task_manager_mac.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/cocoa/task_manager_mac.mm b/chrome/browser/cocoa/task_manager_mac.mm
index e9808dc..00f0002 100644
--- a/chrome/browser/cocoa/task_manager_mac.mm
+++ b/chrome/browser/cocoa/task_manager_mac.mm
@@ -154,19 +154,19 @@
// This function appropriately sets the enabled states on the table's editing
// buttons.
- (void)adjustEndProcessButton {
- bool selection_contains_browser_process = false;
+ bool selectionContainsBrowserProcess = false;
NSIndexSet* selection = [tableView_ selectedRowIndexes];
for (NSUInteger i = [selection lastIndex];
i != NSNotFound;
i = [selection indexLessThanIndex:i]) {
if (taskManager_->IsBrowserProcess(i)) {
- selection_contains_browser_process = true;
+ selectionContainsBrowserProcess = true;
break;
}
}
- bool enabled = [selection count] > 0 && !selection_contains_browser_process;
+ bool enabled = [selection count] > 0 && !selectionContainsBrowserProcess;
[endProcessButton_ setEnabled:enabled];
}