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

Unified Diff: Source/core/editing/SmartReplaceICU.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/SmartReplaceCF.cpp ('k') | Source/core/editing/TextAffinity.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/SmartReplaceICU.cpp
diff --git a/Source/core/editing/SmartReplaceICU.cpp b/Source/core/editing/SmartReplaceICU.cpp
index efa779bdb7f262f737a111c1a808d3b551908ad9..5ce86c0fa6cea8a45ac33264822fff26c0fb7255 100644
--- a/Source/core/editing/SmartReplaceICU.cpp
+++ b/Source/core/editing/SmartReplaceICU.cpp
@@ -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)
« no previous file with comments | « Source/core/editing/SmartReplaceCF.cpp ('k') | Source/core/editing/TextAffinity.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698