Index: chrome/browser/ui/toolbar/toolbar_model_impl.cc |
diff --git a/chrome/browser/ui/toolbar/toolbar_model_impl.cc b/chrome/browser/ui/toolbar/toolbar_model_impl.cc |
index eac490966b8e6216b50bde7db328f8896e53fd3c..1a36ba21fe52b47eebfba6895724412274385f2d 100644 |
--- a/chrome/browser/ui/toolbar/toolbar_model_impl.cc |
+++ b/chrome/browser/ui/toolbar/toolbar_model_impl.cc |
@@ -103,6 +103,10 @@ base::string16 ToolbarModelImpl::GetText() const { |
if (WouldOmitURLDueToOriginChip()) |
return base::string16(); |
+ return GetFormattedURL(); |
+} |
+ |
+base::string16 ToolbarModelImpl::GetFormattedURL() const { |
std::string languages; // Empty if we don't have a |navigation_controller|. |
Profile* profile = GetProfile(); |
if (profile) |