| Index: Source/bindings/v8/V8PerIsolateData.h
|
| diff --git a/Source/bindings/v8/V8PerIsolateData.h b/Source/bindings/v8/V8PerIsolateData.h
|
| index ead107cfd1fadf46521c51fd45fee0953aeae0f4..4f2b58d2e9546ad3808e249704971f2dff285715 100644
|
| --- a/Source/bindings/v8/V8PerIsolateData.h
|
| +++ b/Source/bindings/v8/V8PerIsolateData.h
|
| @@ -29,6 +29,7 @@
|
| #include "bindings/v8/ScopedPersistent.h"
|
| #include "bindings/v8/ScriptState.h"
|
| #include "bindings/v8/V8HiddenValue.h"
|
| +#include "bindings/v8/V8PersistentValueMap.h"
|
| #include "bindings/v8/WrapperTypeInfo.h"
|
| #include "gin/public/gin_embedders.h"
|
| #include "gin/public/isolate_holder.h"
|
| @@ -37,6 +38,7 @@
|
| #include "wtf/HashMap.h"
|
| #include "wtf/OwnPtr.h"
|
| #include "wtf/Vector.h"
|
| +#include "wtf/text/WTFString.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -97,6 +99,9 @@ public:
|
| const char* previousSamplingState() const { return m_previousSamplingState; }
|
| void setPreviousSamplingState(const char* name) { m_previousSamplingState = name; }
|
|
|
| + v8::Handle<v8::Value> compiledBlinkInJS(String);
|
| + void setCompiledBlinkInJS(String, v8::Handle<v8::Value>);
|
| +
|
| private:
|
| explicit V8PerIsolateData(v8::Isolate*);
|
| ~V8PerIsolateData();
|
| @@ -117,6 +122,7 @@ private:
|
| RefPtr<ScriptState> m_scriptRegexpScriptState;
|
|
|
| const char* m_previousSamplingState;
|
| + V8PersistentValueMap<String, v8::Value, false> m_compiledBlinkInJS;
|
|
|
| bool m_constructorMode;
|
| friend class ConstructorMode;
|
|
|