| Index: content/child/quota_dispatcher.cc
|
| diff --git a/content/child/quota_dispatcher.cc b/content/child/quota_dispatcher.cc
|
| index 5862783768fc08db9f1ae92886e5e2ab13652f1b..1a1577ae622c910f6a8b0b79787116d666a429e0 100644
|
| --- a/content/child/quota_dispatcher.cc
|
| +++ b/content/child/quota_dispatcher.cc
|
| @@ -175,18 +175,18 @@ void QuotaDispatcher::DidFail(
|
| pending_quota_callbacks_.Remove(request_id);
|
| }
|
|
|
| -COMPILE_ASSERT(int(blink::WebStorageQuotaTypeTemporary) ==
|
| - int(storage::kStorageTypeTemporary),
|
| - mismatching_enums);
|
| -COMPILE_ASSERT(int(blink::WebStorageQuotaTypePersistent) ==
|
| - int(storage::kStorageTypePersistent),
|
| - mismatching_enums);
|
| -
|
| -COMPILE_ASSERT(int(blink::WebStorageQuotaErrorNotSupported) ==
|
| - int(storage::kQuotaErrorNotSupported),
|
| - mismatching_enums);
|
| -COMPILE_ASSERT(int(blink::WebStorageQuotaErrorAbort) ==
|
| - int(storage::kQuotaErrorAbort),
|
| - mismatching_enums);
|
| +static_assert(int(blink::WebStorageQuotaTypeTemporary) ==
|
| + int(storage::kStorageTypeTemporary),
|
| + "mismatching enums: kStorageTypeTemporary");
|
| +static_assert(int(blink::WebStorageQuotaTypePersistent) ==
|
| + int(storage::kStorageTypePersistent),
|
| + "mismatching enums: kStorageTypePersistent");
|
| +
|
| +static_assert(int(blink::WebStorageQuotaErrorNotSupported) ==
|
| + int(storage::kQuotaErrorNotSupported),
|
| + "mismatching enums: kQuotaErrorNotSupported");
|
| +static_assert(int(blink::WebStorageQuotaErrorAbort) ==
|
| + int(storage::kQuotaErrorAbort),
|
| + "mismatching enums: kQuotaErrorAbort");
|
|
|
| } // namespace content
|
|
|