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

Unified Diff: Source/core/editing/SmartReplaceCF.cpp

Issue 1292303005: Make core/editing/ files to match Blink coding style (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-18T10:48:50 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
« no previous file with comments | « Source/core/editing/SetNodeAttributeCommand.cpp ('k') | Source/core/editing/SmartReplaceICU.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/SmartReplaceCF.cpp
diff --git a/Source/core/editing/SmartReplaceCF.cpp b/Source/core/editing/SmartReplaceCF.cpp
index 47aa7870a71316b55d27bb341cbd9078b40c6bd1..0a0719e14366ca97a11f3881594429cd0f1d9f6a 100644
--- a/Source/core/editing/SmartReplaceCF.cpp
+++ b/Source/core/editing/SmartReplaceCF.cpp
@@ -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);
« no previous file with comments | « Source/core/editing/SetNodeAttributeCommand.cpp ('k') | Source/core/editing/SmartReplaceICU.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698