Source/WebKit:
[WebKit-https.git] / Source / WebKit / Shared / EditorState.cpp
index 5afac59abedbaad0173146f7c202137a4faae318..d4d0950f3c9a46a77ca1d0a67dbdbd0de02091da 100644 (file)
@@ -128,6 +128,7 @@ void EditorState::PostLayoutData::encode(IPC::Encoder& encoder) const
     encoder << isStableStateUpdate;
     encoder << insideFixedPosition;
     encoder << hasPlainText;
+    encoder << caretColor;
 #endif
 #if PLATFORM(MAC)
     encoder << candidateRequestStartPosition;
@@ -179,6 +180,8 @@ bool EditorState::PostLayoutData::decode(IPC::Decoder& decoder, PostLayoutData&
         return false;
     if (!decoder.decode(result.hasPlainText))
         return false;
+    if (!decoder.decode(result.caretColor))
+        return false;
 #endif
 #if PLATFORM(MAC)
     if (!decoder.decode(result.candidateRequestStartPosition))