Index: chrome/browser/ui/views/omnibox/omnibox_view_views.h |
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views.h b/chrome/browser/ui/views/omnibox/omnibox_view_views.h |
index 2f45573895bc57c1b8bd62c20f7a5c57fcd8ad73..6f58c398025bab52e0f6261ee63bad96b7df3003 100644 |
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views.h |
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.h |
@@ -35,10 +35,6 @@ namespace content { |
class WebContents; |
} // namespace content |
-namespace gfx { |
-class RenderText; |
-} |
- |
namespace ui { |
class OSExchangeData; |
} // namespace ui |
@@ -67,13 +63,6 @@ class OmniboxViewViews |
// Initialize, create the underlying views, etc. |
void Init(); |
- // Exposes the RenderText for tests. |
-#if defined(UNIT_TEST) |
- gfx::RenderText* GetRenderText() { |
- return views::Textfield::GetRenderText(); |
- } |
-#endif |
- |
// For use when switching tabs, this saves the current state onto the tab so |
// that it can be restored during a later call to Update(). |
void SaveStateToTab(content::WebContents* tab); |