Index: Source/core/editing/commands/SmartReplaceICU.cpp |
diff --git a/Source/core/editing/SmartReplaceICU.cpp b/Source/core/editing/commands/SmartReplaceICU.cpp |
similarity index 97% |
rename from Source/core/editing/SmartReplaceICU.cpp |
rename to Source/core/editing/commands/SmartReplaceICU.cpp |
index efa779bdb7f262f737a111c1a808d3b551908ad9..4ec502870f855fa98893a2d70fa1be0a17f7e37a 100644 |
--- a/Source/core/editing/SmartReplaceICU.cpp |
+++ b/Source/core/editing/commands/SmartReplaceICU.cpp |
@@ -28,7 +28,7 @@ |
*/ |
#include "config.h" |
-#include "core/editing/SmartReplace.h" |
+#include "core/editing/commands/SmartReplace.h" |
#if !USE(CF) |
#include "wtf/Assertions.h" |
@@ -47,8 +47,8 @@ static void addAllCodePoints(USet* smartSet, const String& string) |
// except we use icu in place of CoreFoundations character classes. |
static USet* getSmartSet(bool isPreviousCharacter) |
{ |
- static USet* preSmartSet = NULL; |
- static USet* postSmartSet = NULL; |
+ static USet* preSmartSet = nullptr; |
+ static USet* postSmartSet = nullptr; |
USet* smartSet = isPreviousCharacter ? preSmartSet : postSmartSet; |
if (!smartSet) { |
// Whitespace and newline (kCFCharacterSetWhitespaceAndNewline) |