| Index: third_party/WebKit/Source/platform/text/CompressibleString.h
|
| diff --git a/third_party/WebKit/Source/platform/text/CompressibleString.h b/third_party/WebKit/Source/platform/text/CompressibleString.h
|
| index b7b3548031c167d5a40fd95be3022b751b60cb20..9a23dac6111be0270779da55fb5361a10b0f3af6 100644
|
| --- a/third_party/WebKit/Source/platform/text/CompressibleString.h
|
| +++ b/third_party/WebKit/Source/platform/text/CompressibleString.h
|
| @@ -21,7 +21,9 @@ public:
|
|
|
| CompressibleStringImpl()
|
| : m_string()
|
| - , m_isCompressed(false)
|
| + , m_originalLength(0)
|
| + , m_compressedData(nullptr)
|
| + , m_compressedDataSize(0)
|
| {
|
| }
|
|
|
| @@ -30,7 +32,7 @@ public:
|
|
|
| bool isEmpty() const { return originalLength() == 0; }
|
|
|
| - bool isCompressed() const { return m_isCompressed; }
|
| + bool isCompressed() const { return m_compressedData; }
|
| unsigned originalLength() const { return m_string.length(); }
|
| bool is8Bit() const { return m_string.is8Bit(); }
|
|
|
| @@ -69,7 +71,9 @@ public:
|
|
|
| private:
|
| String m_string;
|
| - bool m_isCompressed;
|
| + unsigned m_originalLength;
|
| + void* m_compressedData;
|
| + unsigned m_compressedDataSize;
|
| };
|
|
|
| class PLATFORM_EXPORT CompressibleString final {
|
|
|