| Index: third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.h b/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.h
|
| index 2566da7cfc1d019640f96116011baa5cc0d61411..0e532d32de618506df8d8e53d2e25bc9e56cd497 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.h
|
| @@ -34,6 +34,7 @@
|
| #include "core/inspector/ScriptDebuggerBase.h"
|
| #include "gin/public/isolate_holder.h"
|
| #include "gin/public/v8_idle_task_runner.h"
|
| +#include "platform/text/CompressableString.h"
|
| #include "wtf/HashMap.h"
|
| #include "wtf/Noncopyable.h"
|
| #include "wtf/OwnPtr.h"
|
| @@ -127,6 +128,10 @@ public:
|
|
|
| void setScriptDebugger(PassOwnPtr<ScriptDebuggerBase>);
|
|
|
| + void addCompressableString(const CompressableString&);
|
| +
|
| + void compressStrings();
|
| +
|
| private:
|
| V8PerIsolateData();
|
| ~V8PerIsolateData();
|
| @@ -162,6 +167,8 @@ private:
|
|
|
| Vector<OwnPtr<EndOfScopeTask>> m_endOfScopeTasks;
|
| OwnPtr<ScriptDebuggerBase> m_scriptDebugger;
|
| +
|
| + HashSet<RefPtr<CompressableStringImpl>> m_compressableStrings;
|
| };
|
|
|
| } // namespace blink
|
|
|