Index: Source/bindings/core/v8/SerializedScriptValue.h |
diff --git a/Source/bindings/core/v8/SerializedScriptValue.h b/Source/bindings/core/v8/SerializedScriptValue.h |
index 2ebfee9b2f21d535ac685a9de6294eb1879c2553..9bd2c5dc918721af1d33cec9190935c90a718eb9 100644 |
--- a/Source/bindings/core/v8/SerializedScriptValue.h |
+++ b/Source/bindings/core/v8/SerializedScriptValue.h |
@@ -69,6 +69,10 @@ public: |
~SerializedScriptValue(); |
+ // VarInt encoding constants. |
+ static const int varIntShift = 7; |
+ static const int varIntMask = (1 << varIntShift) - 1; |
+ |
// If a serialization error occurs (e.g., cyclic input value) this |
// function returns an empty representation, schedules a V8 exception to |
// be thrown using v8::ThrowException(), and sets |didThrow|. In this case |