Chromium Code Reviews| Index: url/gurl.cc |
| diff --git a/url/gurl.cc b/url/gurl.cc |
| index 98a0300216c2ea95e95791075077db4579cc00cb..bdd35227b0dadbd36024a12aa5f51799c189ec06 100644 |
| --- a/url/gurl.cc |
| +++ b/url/gurl.cc |
| @@ -512,6 +512,7 @@ bool operator!=(const GURL& x, const GURL& y) { |
| } |
| bool operator==(const GURL& x, const base::StringPiece& spec) { |
| + DCHECK_EQ(GURL(spec).possibly_invalid_spec(), spec); |
| return x.possibly_invalid_spec() == spec; |
| } |