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

Unified Diff: Source/core/editing/commands/SmartReplaceCF.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/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);

Powered by Google App Engine
This is Rietveld 408576698