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

Unified Diff: third_party/WebKit/Source/core/editing/state_machines/ForwardGraphemeBoundaryStateMachine.h

Issue 1867793003: Do not use U+0000 as the invalid code point. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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: third_party/WebKit/Source/core/editing/state_machines/ForwardGraphemeBoundaryStateMachine.h
diff --git a/third_party/WebKit/Source/core/editing/state_machines/ForwardGraphemeBoundaryStateMachine.h b/third_party/WebKit/Source/core/editing/state_machines/ForwardGraphemeBoundaryStateMachine.h
index d330e10c0fe351d14b0a6c4047884cb38f94d4dd..8ceada28ad5827e2dc478c51a74748830d6891be 100644
--- a/third_party/WebKit/Source/core/editing/state_machines/ForwardGraphemeBoundaryStateMachine.h
+++ b/third_party/WebKit/Source/core/editing/state_machines/ForwardGraphemeBoundaryStateMachine.h
@@ -59,7 +59,7 @@ private:
UChar m_pendingCodeUnit = 0;
// The code point immediately before the m_BoundaryOffset.
- UChar32 m_prevCodePoint = 0;
+ UChar32 m_prevCodePoint;
// The relative offset from the begging of this state machine.
int m_boundaryOffset = 0;

Powered by Google App Engine
This is Rietveld 408576698