diff options
Diffstat (limited to 'WebKit/mac/WebView/WebTextCompletionController.mm')
-rw-r--r-- | WebKit/mac/WebView/WebTextCompletionController.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebKit/mac/WebView/WebTextCompletionController.mm b/WebKit/mac/WebView/WebTextCompletionController.mm index 6c37b98..4f8e6e0 100644 --- a/WebKit/mac/WebView/WebTextCompletionController.mm +++ b/WebKit/mac/WebView/WebTextCompletionController.mm @@ -298,7 +298,8 @@ using namespace std; - (void)_reflectSelection { int selectedRow = [_tableView selectedRow]; - ASSERT(selectedRow >= 0 && selectedRow < (int)[_completions count]); + ASSERT(selectedRow >= 0); + ASSERT(selectedRow < (int)[_completions count]); [self _insertMatch:[_completions objectAtIndex:selectedRow]]; } |