Index: chrome/browser/cocoa/find_bar_text_field_cell_unittest.mm |
diff --git a/chrome/browser/cocoa/find_bar_text_field_cell_unittest.mm b/chrome/browser/cocoa/find_bar_text_field_cell_unittest.mm |
index 50011a4092f94e573ef7e8f38c617d83d1611e49..56864dc566a4d363aa1f46b240c6e73d5dfeff2b 100644 |
--- a/chrome/browser/cocoa/find_bar_text_field_cell_unittest.mm |
+++ b/chrome/browser/cocoa/find_bar_text_field_cell_unittest.mm |
@@ -122,9 +122,6 @@ TEST_F(FindBarTextFieldCellTest, DrawingRectForBounds) { |
NSRect textFrame = [cell_ textFrameForFrame:bounds]; |
NSRect drawingRect = [cell_ drawingRectForBounds:bounds]; |
- // Save the starting frame for after clear. |
- const NSRect originalDrawingRect(drawingRect); |
- |
EXPECT_FALSE(NSIsEmptyRect(drawingRect)); |
EXPECT_TRUE(NSContainsRect(textFrame, NSInsetRect(drawingRect, 1, 1))); |