| Index: Source/core/editing/EditorCommand.cpp
|
| diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp
|
| index 77fec54eb170aa19a45dc77dafa2aa5f6e318b9f..b501d538d570c164128bb18d203c75c96ace3584 100644
|
| --- a/Source/core/editing/EditorCommand.cpp
|
| +++ b/Source/core/editing/EditorCommand.cpp
|
| @@ -1643,14 +1643,14 @@ static const CommandMap& createCommandMap()
|
| // Unbookmark (not supported)
|
|
|
| CommandMap& commandMap = *new CommandMap;
|
| -#if ASSERT_ENABLED
|
| +#if ENABLE(ASSERT)
|
| HashSet<int> idSet;
|
| #endif
|
| for (size_t i = 0; i < WTF_ARRAY_LENGTH(commands); ++i) {
|
| const CommandEntry& command = commands[i];
|
| ASSERT(!commandMap.get(command.name));
|
| commandMap.set(command.name, &command.command);
|
| -#if ASSERT_ENABLED
|
| +#if ENABLE(ASSERT)
|
| ASSERT(!idSet.contains(command.command.idForUserMetrics));
|
| idSet.add(command.command.idForUserMetrics);
|
| #endif
|
|
|