| Index: net/base/net_util_icu.cc
|
| diff --git a/net/base/net_util_icu.cc b/net/base/net_util_icu.cc
|
| index 259baba33bd41ef781afe121579857c95b602dc2..2d18d76386d182962e4732aa05e3676df7e679b5 100644
|
| --- a/net/base/net_util_icu.cc
|
| +++ b/net/base/net_util_icu.cc
|
| @@ -23,6 +23,7 @@
|
| #include "third_party/icu/source/common/unicode/uniset.h"
|
| #include "third_party/icu/source/common/unicode/uscript.h"
|
| #include "third_party/icu/source/common/unicode/uset.h"
|
| +#include "third_party/icu/source/common/unicode/utypes.h"
|
| #include "third_party/icu/source/i18n/unicode/datefmt.h"
|
| #include "third_party/icu/source/i18n/unicode/regex.h"
|
| #include "third_party/icu/source/i18n/unicode/ulocdata.h"
|
| @@ -298,8 +299,11 @@ struct UIDNAWrapper {
|
| // TODO(jungshik): Change options as different parties (browsers,
|
| // registrars, search engines) converge toward a consensus.
|
| value = uidna_openUTS46(UIDNA_CHECK_BIDI, &err);
|
| - if (U_FAILURE(err))
|
| + if (U_FAILURE(err)) {
|
| + CHECK(false) << "failed to open UTS46 data with error: "
|
| + << u_errorName(err);
|
| value = NULL;
|
| + }
|
| }
|
|
|
| UIDNA* value;
|
|
|