Index: Source/modules/filesystem/WorkerGlobalScopeFileSystem.cpp |
diff --git a/Source/modules/filesystem/WorkerGlobalScopeFileSystem.cpp b/Source/modules/filesystem/WorkerGlobalScopeFileSystem.cpp |
index 4abb865fd3461f79a0adf3869f183c3cf21110ed..ec440a1f0e289246e7eb7fcd7332a5970289b32d 100644 |
--- a/Source/modules/filesystem/WorkerGlobalScopeFileSystem.cpp |
+++ b/Source/modules/filesystem/WorkerGlobalScopeFileSystem.cpp |
@@ -124,7 +124,7 @@ EntrySync* WorkerGlobalScopeFileSystem::webkitResolveLocalFileSystemSyncURL(Work |
return resolveURLHelper->getResult(exceptionState); |
} |
-COMPILE_ASSERT(static_cast<int>(WorkerGlobalScopeFileSystem::TEMPORARY) == static_cast<int>(FileSystemTypeTemporary), enum_mismatch); |
-COMPILE_ASSERT(static_cast<int>(WorkerGlobalScopeFileSystem::PERSISTENT) == static_cast<int>(FileSystemTypePersistent), enum_mismatch); |
+static_assert(static_cast<int>(WorkerGlobalScopeFileSystem::TEMPORARY) == static_cast<int>(FileSystemTypeTemporary), "WorkerGlobalScopeFileSystem::TEMPORARY should match FileSystemTypeTemporary"); |
+static_assert(static_cast<int>(WorkerGlobalScopeFileSystem::PERSISTENT) == static_cast<int>(FileSystemTypePersistent), "WorkerGlobalScopeFileSystem::PERSISTENT should match FileSystemTypePersistent"); |
} // namespace blink |