Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5091)

Unified Diff: chrome/browser/cocoa/find_bar_text_field_cell_unittest.mm

Issue 2876002: Mac/clang: First pass over unit_tests (Closed)
Patch Set: '' Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)));

Powered by Google App Engine
This is Rietveld 408576698