Index: LayoutTests/editing/spelling/grammar-paste.html |
diff --git a/LayoutTests/editing/spelling/grammar-paste.html b/LayoutTests/editing/spelling/grammar-paste.html |
index 674b8ee9cb11ffbfeeeea6ae9dbeadd41898f7a4..a47260f80962aa595e3caadf428d1828283d6821 100644 |
--- a/LayoutTests/editing/spelling/grammar-paste.html |
+++ b/LayoutTests/editing/spelling/grammar-paste.html |
@@ -75,15 +75,12 @@ function findFirstTextNode(node) |
return iterToFindFirstTextNode(node); |
} |
-function verifyMarker(node, expectedMarked, needsFocus) |
+function verifyMarker(node, expectedMarked) |
{ |
- if (true) { |
- if (node instanceof HTMLInputElement || node instanceof HTMLTextAreaElement) { |
- node.focus(); |
- } else { |
- sel.selectAllChildren(node); |
- } |
- } |
+ if (node instanceof HTMLInputElement || node instanceof HTMLTextAreaElement) |
+ node.focus(); |
+ else |
+ sel.selectAllChildren(node); |
var textNode = findFirstTextNode(node); |
var num = internals.markerCountForNode(textNode, "grammar"); |