Index: Source/core/editing/commands/SmartReplaceCF.cpp |
diff --git a/Source/core/editing/SmartReplaceCF.cpp b/Source/core/editing/commands/SmartReplaceCF.cpp |
similarity index 95% |
rename from Source/core/editing/SmartReplaceCF.cpp |
rename to Source/core/editing/commands/SmartReplaceCF.cpp |
index 47aa7870a71316b55d27bb341cbd9078b40c6bd1..32e04e3f797fb9be82fb42fb8cdd903d5c438909 100644 |
--- a/Source/core/editing/SmartReplaceCF.cpp |
+++ b/Source/core/editing/commands/SmartReplaceCF.cpp |
@@ -27,7 +27,7 @@ |
*/ |
#include "config.h" |
-#include "core/editing/SmartReplace.h" |
+#include "core/editing/commands/SmartReplace.h" |
#include <CoreFoundation/CFCharacterSet.h> |
#include <CoreFoundation/CFString.h> |
@@ -36,8 +36,8 @@ namespace blink { |
static CFMutableCharacterSetRef getSmartSet(bool isPreviousCharacter) |
{ |
- static CFMutableCharacterSetRef preSmartSet = NULL; |
- static CFMutableCharacterSetRef postSmartSet = NULL; |
+ static CFMutableCharacterSetRef preSmartSet = nullptr; |
+ static CFMutableCharacterSetRef postSmartSet = nullptr; |
CFMutableCharacterSetRef smartSet = isPreviousCharacter ? preSmartSet : postSmartSet; |
if (!smartSet) { |
smartSet = CFCharacterSetCreateMutable(kCFAllocatorDefault); |