| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 #include "core/inspector/MainThreadDebugger.h" | 55 #include "core/inspector/MainThreadDebugger.h" |
| 56 #include "core/workers/WorkerGlobalScope.h" | 56 #include "core/workers/WorkerGlobalScope.h" |
| 57 #include "platform/EventDispatchForbiddenScope.h" | 57 #include "platform/EventDispatchForbiddenScope.h" |
| 58 #include "platform/RuntimeEnabledFeatures.h" | 58 #include "platform/RuntimeEnabledFeatures.h" |
| 59 #include "platform/instrumentation/tracing/TraceEvent.h" | 59 #include "platform/instrumentation/tracing/TraceEvent.h" |
| 60 #include "platform/loader/fetch/AccessControlStatus.h" | 60 #include "platform/loader/fetch/AccessControlStatus.h" |
| 61 #include "public/platform/Platform.h" | 61 #include "public/platform/Platform.h" |
| 62 #include "public/platform/WebScheduler.h" | 62 #include "public/platform/WebScheduler.h" |
| 63 #include "public/platform/WebThread.h" | 63 #include "public/platform/WebThread.h" |
| 64 #include "wtf/AddressSanitizer.h" | 64 #include "wtf/AddressSanitizer.h" |
| 65 #include "wtf/Assertions.h" |
| 65 #include "wtf/PtrUtil.h" | 66 #include "wtf/PtrUtil.h" |
| 66 #include "wtf/RefPtr.h" | 67 #include "wtf/RefPtr.h" |
| 67 #include "wtf/text/WTFString.h" | 68 #include "wtf/text/WTFString.h" |
| 68 #include "wtf/typed_arrays/ArrayBufferContents.h" | 69 #include "wtf/typed_arrays/ArrayBufferContents.h" |
| 69 | 70 |
| 70 namespace blink { | 71 namespace blink { |
| 71 | 72 |
| 72 static Frame* findFrame(v8::Isolate* isolate, | 73 static Frame* findFrame(v8::Isolate* isolate, |
| 73 v8::Local<v8::Object> host, | 74 v8::Local<v8::Object> host, |
| 74 v8::Local<v8::Value> data) { | 75 v8::Local<v8::Value> data) { |
| (...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 561 v8::Isolate::kMessageLog); | 562 v8::Isolate::kMessageLog); |
| 562 isolate->SetFatalErrorHandler(reportFatalErrorInWorker); | 563 isolate->SetFatalErrorHandler(reportFatalErrorInWorker); |
| 563 | 564 |
| 564 uint32_t here; | 565 uint32_t here; |
| 565 isolate->SetStackLimit(reinterpret_cast<uintptr_t>(&here) - | 566 isolate->SetStackLimit(reinterpret_cast<uintptr_t>(&here) - |
| 566 kWorkerMaxStackSize); | 567 kWorkerMaxStackSize); |
| 567 isolate->SetPromiseRejectCallback(promiseRejectHandlerInWorker); | 568 isolate->SetPromiseRejectCallback(promiseRejectHandlerInWorker); |
| 568 } | 569 } |
| 569 | 570 |
| 570 } // namespace blink | 571 } // namespace blink |
| OLD | NEW |