Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(821)

Unified Diff: Source/core/editing/commands/SmartReplaceICU.cpp

Issue 1294543005: Move execCommand related files in core/editing/ related files into core/editing/commands/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-17T17:57:33 Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698