Changeset 140387 in webkit
- Timestamp:
- Jan 21, 2013 11:33:16 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r140386 r140387 1 2013-01-21 Kentaro Hara <haraken@chromium.org> 2 3 [V8] ScriptState::isolate() should use Context::GetIsolate() 4 https://bugs.webkit.org/show_bug.cgi?id=107490 5 6 Reviewed by Adam Barth. 7 8 Now V8 provides Context::GetIsolate(). We should use it 9 in ScriptState::isolate(). 10 11 * bindings/v8/ScriptState.h: 12 (WebCore::ScriptState::isolate): 13 (ScriptState): 14 1 15 2013-01-21 Michał Pakuła vel Rutka <m.pakula@samsung.com> 2 16 -
trunk/Source/WebCore/bindings/v8/ScriptState.h
r139854 r140387 66 66 v8::Isolate* isolate() 67 67 { 68 if (!m_isolate) 69 m_isolate = v8::Isolate::GetCurrent(); 70 return m_isolate; 68 return m_context->GetIsolate(); 71 69 } 72 70 … … 89 87 v8::Local<v8::Value> m_exception; 90 88 ScopedPersistent<v8::Context> m_context; 91 v8::Isolate* m_isolate;92 89 }; 93 90
Note: See TracChangeset
for help on using the changeset viewer.