| Index: chrome/browser/ui/views/status_bubble_views.cc
|
| diff --git a/chrome/browser/ui/views/status_bubble_views.cc b/chrome/browser/ui/views/status_bubble_views.cc
|
| index a6ca0372db3d154b63f7f68737fd351a4dcb0f30..4b5a528d32bf9c5fe5a93bb56189cc25e7fa9dda 100644
|
| --- a/chrome/browser/ui/views/status_bubble_views.cc
|
| +++ b/chrome/browser/ui/views/status_bubble_views.cc
|
| @@ -13,7 +13,7 @@
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "chrome/browser/themes/theme_properties.h"
|
| #include "chrome/browser/ui/elide_url.h"
|
| -#include "net/base/net_util.h"
|
| +#include "components/url_formatter/url_formatter.h"
|
| #include "third_party/skia/include/core/SkPaint.h"
|
| #include "third_party/skia/include/core/SkRect.h"
|
| #include "ui/base/theme_provider.h"
|
| @@ -698,7 +698,8 @@ void StatusBubbleViews::SetURL(const GURL& url, const std::string& languages) {
|
| // size (shrinking or expanding). Otherwise delay.
|
| if (is_expanded_ && !url.is_empty()) {
|
| ExpandBubble();
|
| - } else if (net::FormatUrl(url, languages).length() > url_text_.length()) {
|
| + } else if (url_formatter::FormatUrl(url, languages).length() >
|
| + url_text_.length()) {
|
| base::MessageLoop::current()->PostDelayedTask(
|
| FROM_HERE,
|
| base::Bind(&StatusBubbleViews::ExpandBubble,
|
|
|