| Index: chrome/browser/prerender/prerender_local_predictor.cc
|
| diff --git a/chrome/browser/prerender/prerender_local_predictor.cc b/chrome/browser/prerender/prerender_local_predictor.cc
|
| index 3516d95718f44b5852d67c7bb9a6a5cfc51cdc69..1da0f045386930cfa88b8d8052fef4b1af3c3a81 100644
|
| --- a/chrome/browser/prerender/prerender_local_predictor.cc
|
| +++ b/chrome/browser/prerender/prerender_local_predictor.cc
|
| @@ -307,14 +307,14 @@ bool IsLogOutURL(const GURL& url) {
|
| }
|
|
|
| int64 URLHashToInt64(const unsigned char* data) {
|
| - COMPILE_ASSERT(kURLHashSize < sizeof(int64), url_hash_must_fit_in_int64);
|
| + static_assert(kURLHashSize < sizeof(int64), "url hash must fit in int64");
|
| int64 value = 0;
|
| memcpy(&value, data, kURLHashSize);
|
| return value;
|
| }
|
|
|
| int64 GetInt64URLHashForURL(const GURL& url) {
|
| - COMPILE_ASSERT(kURLHashSize < sizeof(int64), url_hash_must_fit_in_int64);
|
| + static_assert(kURLHashSize < sizeof(int64), "url hash must fit in int64");
|
| scoped_ptr<crypto::SecureHash> hash(
|
| crypto::SecureHash::Create(crypto::SecureHash::SHA256));
|
| int64 hash_value = 0;
|
|
|