| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ScriptState_h | 5 #ifndef ScriptState_h |
| 6 #define ScriptState_h | 6 #define ScriptState_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScopedPersistent.h" | 8 #include "bindings/core/v8/ScopedPersistent.h" |
| 9 #include "bindings/core/v8/V8PerContextData.h" | 9 #include "bindings/core/v8/V8PerContextData.h" |
| 10 #include "core/CoreExport.h" | 10 #include "core/CoreExport.h" |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 { | 157 { |
| 158 m_scriptState = nullptr; | 158 m_scriptState = nullptr; |
| 159 m_context.clear(); | 159 m_context.clear(); |
| 160 } | 160 } |
| 161 | 161 |
| 162 private: | 162 private: |
| 163 RefPtr<ScriptState> m_scriptState; | 163 RefPtr<ScriptState> m_scriptState; |
| 164 ScopedPersistent<v8::Context> m_context; | 164 ScopedPersistent<v8::Context> m_context; |
| 165 }; | 165 }; |
| 166 | 166 |
| 167 } | 167 } // namespace blink |
| 168 | 168 |
| 169 #endif // ScriptState_h | 169 #endif // ScriptState_h |
| OLD | NEW |