| Index: components/url_formatter/elide_url_unittest.cc
|
| diff --git a/components/url_formatter/elide_url_unittest.cc b/components/url_formatter/elide_url_unittest.cc
|
| index e251e003ceac8a7dab107aa63701d3659ed5bdd9..fd5b89d4e135696f52d3573f5a2c954be99448dc 100644
|
| --- a/components/url_formatter/elide_url_unittest.cc
|
| +++ b/components/url_formatter/elide_url_unittest.cc
|
| @@ -8,6 +8,7 @@
|
|
|
| #include "base/ios/ios_util.h"
|
| #include "base/macros.h"
|
| +#include "base/run_loop.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "build/build_config.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -108,6 +109,10 @@ TEST(TextEliderTest, TestTrailingEllipsisSlashEllipsisHack) {
|
|
|
| // Test eliding of empty strings, URLs with ports, passwords, queries, etc.
|
| TEST(TextEliderTest, TestMoreEliding) {
|
| +#if defined(OS_WIN)
|
| + // Needed to bypass DCHECK in GetFallbackFont.
|
| + base::MessageLoopForUI message_loop;
|
| +#endif
|
| const std::string kEllipsisStr(gfx::kEllipsis);
|
| Testcase testcases[] = {
|
| {"http://www.google.com/foo?bar", "www.google.com/foo?bar"},
|
|
|