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

Unified Diff: chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm

Issue 2510373003: Cleanup: Remove "gray text" logic from Omnibox (Closed)
Patch Set: review2 Created 4 years, 1 month 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/ui/cocoa/location_bar/autocomplete_text_field_editor.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm
index 68dd4938a6aa5525e73194480b4eab0ebbdb7fa2..dbf4b66e78258f0a92b1a2dc54c169e51e51c4ae 100644
--- a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm
+++ b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm
@@ -593,12 +593,6 @@ BOOL ThePasteboardIsTooDamnBig() {
if (observer)
observer->OnBeforeDrawRect();
[super drawRect:rect];
- autocomplete_text_field::DrawGrayTextAutocompletion(
- [self textStorage],
- [[self delegate] suggestText],
- [[self delegate] suggestColor],
- self,
- [self bounds]);
if (observer)
observer->OnDidDrawRect();
}

Powered by Google App Engine
This is Rietveld 408576698