| 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 20 matching lines...) Expand all Loading... |
| 31 #include "V8History.h" | 31 #include "V8History.h" |
| 32 #include "V8Location.h" | 32 #include "V8Location.h" |
| 33 #include "V8Window.h" | 33 #include "V8Window.h" |
| 34 #include "bindings/v8/DOMWrapperWorld.h" | 34 #include "bindings/v8/DOMWrapperWorld.h" |
| 35 #include "bindings/v8/ScriptCallStackFactory.h" | 35 #include "bindings/v8/ScriptCallStackFactory.h" |
| 36 #include "bindings/v8/ScriptController.h" | 36 #include "bindings/v8/ScriptController.h" |
| 37 #include "bindings/v8/ScriptProfiler.h" | 37 #include "bindings/v8/ScriptProfiler.h" |
| 38 #include "bindings/v8/V8Binding.h" | 38 #include "bindings/v8/V8Binding.h" |
| 39 #include "bindings/v8/V8ErrorHandler.h" | 39 #include "bindings/v8/V8ErrorHandler.h" |
| 40 #include "bindings/v8/V8GCController.h" | 40 #include "bindings/v8/V8GCController.h" |
| 41 #include "bindings/v8/V8HiddenPropertyName.h" | |
| 42 #include "bindings/v8/V8PerContextData.h" | 41 #include "bindings/v8/V8PerContextData.h" |
| 43 #include "core/dom/Document.h" | 42 #include "core/dom/Document.h" |
| 44 #include "core/dom/ExceptionCode.h" | 43 #include "core/dom/ExceptionCode.h" |
| 45 #include "core/inspector/ScriptCallStack.h" | 44 #include "core/inspector/ScriptCallStack.h" |
| 46 #include "core/frame/ConsoleTypes.h" | 45 #include "core/frame/ConsoleTypes.h" |
| 47 #include "core/frame/ContentSecurityPolicy.h" | 46 #include "core/frame/ContentSecurityPolicy.h" |
| 48 #include "core/frame/DOMWindow.h" | 47 #include "core/frame/DOMWindow.h" |
| 49 #include "core/frame/Frame.h" | 48 #include "core/frame/Frame.h" |
| 50 #include "public/platform/Platform.h" | 49 #include "public/platform/Platform.h" |
| 51 #include "wtf/RefPtr.h" | 50 #include "wtf/RefPtr.h" |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 v8::V8::AddMessageListener(messageHandlerInWorker); | 220 v8::V8::AddMessageListener(messageHandlerInWorker); |
| 222 v8::V8::SetFatalErrorHandler(reportFatalErrorInWorker); | 221 v8::V8::SetFatalErrorHandler(reportFatalErrorInWorker); |
| 223 | 222 |
| 224 v8::ResourceConstraints resourceConstraints; | 223 v8::ResourceConstraints resourceConstraints; |
| 225 uint32_t here; | 224 uint32_t here; |
| 226 resourceConstraints.set_stack_limit(&here - kWorkerMaxStackSize / sizeof(uin
t32_t*)); | 225 resourceConstraints.set_stack_limit(&here - kWorkerMaxStackSize / sizeof(uin
t32_t*)); |
| 227 v8::SetResourceConstraints(isolate, &resourceConstraints); | 226 v8::SetResourceConstraints(isolate, &resourceConstraints); |
| 228 } | 227 } |
| 229 | 228 |
| 230 } // namespace WebCore | 229 } // namespace WebCore |
| OLD | NEW |