OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010-2011 Google Inc. All rights reserved. | 2 * Copyright (c) 2010-2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 12 matching lines...) Expand all Loading... |
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #include "platform/v8_inspector/V8DebuggerImpl.h" | 31 #include "platform/v8_inspector/V8DebuggerImpl.h" |
32 | 32 |
33 #include "platform/JSONValues.h" | 33 #include "platform/inspector_protocol/Values.h" |
34 #include "platform/v8_inspector/DebuggerScript.h" | 34 #include "platform/v8_inspector/DebuggerScript.h" |
35 #include "platform/v8_inspector/JavaScriptCallFrame.h" | 35 #include "platform/v8_inspector/JavaScriptCallFrame.h" |
36 #include "platform/v8_inspector/ScriptBreakpoint.h" | 36 #include "platform/v8_inspector/ScriptBreakpoint.h" |
37 #include "platform/v8_inspector/V8DebuggerAgentImpl.h" | 37 #include "platform/v8_inspector/V8DebuggerAgentImpl.h" |
38 #include "platform/v8_inspector/V8JavaScriptCallFrame.h" | 38 #include "platform/v8_inspector/V8JavaScriptCallFrame.h" |
39 #include "platform/v8_inspector/V8StackTraceImpl.h" | 39 #include "platform/v8_inspector/V8StackTraceImpl.h" |
40 #include "platform/v8_inspector/V8StringUtil.h" | 40 #include "platform/v8_inspector/V8StringUtil.h" |
41 #include "platform/v8_inspector/public/V8DebuggerClient.h" | 41 #include "platform/v8_inspector/public/V8DebuggerClient.h" |
42 #include "wtf/Atomics.h" | 42 #include "wtf/Atomics.h" |
43 #include "wtf/Vector.h" | 43 #include "wtf/Vector.h" |
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
817 } | 817 } |
818 | 818 |
819 v8::Local<v8::Context> V8DebuggerImpl::regexContext() | 819 v8::Local<v8::Context> V8DebuggerImpl::regexContext() |
820 { | 820 { |
821 if (m_regexContext.IsEmpty()) | 821 if (m_regexContext.IsEmpty()) |
822 m_regexContext.Reset(m_isolate, v8::Context::New(m_isolate)); | 822 m_regexContext.Reset(m_isolate, v8::Context::New(m_isolate)); |
823 return m_regexContext.Get(m_isolate); | 823 return m_regexContext.Get(m_isolate); |
824 } | 824 } |
825 | 825 |
826 } // namespace blink | 826 } // namespace blink |
OLD | NEW |