Index: chrome/browser/cocoa/styled_text_field_cell_unittest.mm |
diff --git a/chrome/browser/cocoa/styled_text_field_cell_unittest.mm b/chrome/browser/cocoa/styled_text_field_cell_unittest.mm |
index c087d28449a0d28e23d63fef7a1c31cf22fc2c5e..8ee6c4659ed43c4425b7ec3e74accc6a340dd95e 100644 |
--- a/chrome/browser/cocoa/styled_text_field_cell_unittest.mm |
+++ b/chrome/browser/cocoa/styled_text_field_cell_unittest.mm |
@@ -71,9 +71,6 @@ TEST_F(StyledTextFieldCellTest, DrawingRectForBounds) { |
EXPECT_FALSE(NSIsEmptyRect(drawingRect)); |
EXPECT_TRUE(NSContainsRect(textFrame, NSInsetRect(drawingRect, 1, 1))); |
- // Save the starting frame for after clear. |
- const NSRect originalDrawingRect = drawingRect; |
- |
[cell_ setLeftMargin:10]; |
textFrame = [cell_ textFrameForFrame:bounds]; |
drawingRect = [cell_ drawingRectForBounds:bounds]; |