| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF | 22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
| 23 * THE POSSIBILITY OF SUCH DAMAGE. | 23 * THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #include "bindings/core/v8/V8ScriptRunner.h" | 26 #include "bindings/core/v8/V8ScriptRunner.h" |
| 27 | 27 |
| 28 #include "bindings/core/v8/BindingSecurity.h" | 28 #include "bindings/core/v8/BindingSecurity.h" |
| 29 #include "bindings/core/v8/ScriptSourceCode.h" | 29 #include "bindings/core/v8/ScriptSourceCode.h" |
| 30 #include "bindings/core/v8/ScriptStreamer.h" | 30 #include "bindings/core/v8/ScriptStreamer.h" |
| 31 #include "bindings/core/v8/V8Binding.h" | 31 #include "bindings/core/v8/V8BindingForCore.h" |
| 32 #include "bindings/core/v8/V8GCController.h" | 32 #include "bindings/core/v8/V8GCController.h" |
| 33 #include "bindings/core/v8/V8ThrowException.h" | 33 #include "bindings/core/v8/V8ThrowException.h" |
| 34 #include "core/dom/Document.h" | 34 #include "core/dom/Document.h" |
| 35 #include "core/dom/ExecutionContext.h" | 35 #include "core/dom/ExecutionContext.h" |
| 36 #include "core/frame/LocalDOMWindow.h" | 36 #include "core/frame/LocalDOMWindow.h" |
| 37 #include "core/frame/LocalFrame.h" | 37 #include "core/frame/LocalFrame.h" |
| 38 #include "core/inspector/InspectorTraceEvents.h" | 38 #include "core/inspector/InspectorTraceEvents.h" |
| 39 #include "core/inspector/ThreadDebugger.h" | 39 #include "core/inspector/ThreadDebugger.h" |
| 40 #include "core/loader/resource/ScriptResource.h" | 40 #include "core/loader/resource/ScriptResource.h" |
| 41 #include "core/probe/CoreProbes.h" | 41 #include "core/probe/CoreProbes.h" |
| (...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 742 if (!context->GetExtrasBindingObject() | 742 if (!context->GetExtrasBindingObject() |
| 743 ->Get(context, V8AtomicString(isolate, name)) | 743 ->Get(context, V8AtomicString(isolate, name)) |
| 744 .ToLocal(&function_value)) | 744 .ToLocal(&function_value)) |
| 745 return v8::MaybeLocal<v8::Value>(); | 745 return v8::MaybeLocal<v8::Value>(); |
| 746 v8::Local<v8::Function> function = function_value.As<v8::Function>(); | 746 v8::Local<v8::Function> function = function_value.As<v8::Function>(); |
| 747 return V8ScriptRunner::CallInternalFunction(function, v8::Undefined(isolate), | 747 return V8ScriptRunner::CallInternalFunction(function, v8::Undefined(isolate), |
| 748 num_args, args, isolate); | 748 num_args, args, isolate); |
| 749 } | 749 } |
| 750 | 750 |
| 751 } // namespace blink | 751 } // namespace blink |
| OLD | NEW |