| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 #include "RuntimeEnabledFeatures.h" | 33 #include "RuntimeEnabledFeatures.h" |
| 34 #include "V8ServiceWorker.h" | 34 #include "V8ServiceWorker.h" |
| 35 #include "bindings/V8DOMError.h" | 35 #include "bindings/V8DOMError.h" |
| 36 #include "bindings/v8/CallbackPromiseAdapter.h" | 36 #include "bindings/v8/CallbackPromiseAdapter.h" |
| 37 #include "bindings/v8/ScriptPromiseResolver.h" | 37 #include "bindings/v8/ScriptPromiseResolver.h" |
| 38 #include "core/dom/Document.h" | 38 #include "core/dom/Document.h" |
| 39 #include "core/dom/ExceptionCode.h" | 39 #include "core/dom/ExceptionCode.h" |
| 40 #include "core/dom/ExecutionContext.h" | 40 #include "core/dom/ExecutionContext.h" |
| 41 #include "core/frame/Frame.h" | 41 #include "core/frame/Frame.h" |
| 42 #include "core/frame/Navigator.h" | |
| 43 #include "core/loader/DocumentLoader.h" | 42 #include "core/loader/DocumentLoader.h" |
| 44 #include "core/loader/FrameLoaderClient.h" | 43 #include "core/loader/FrameLoaderClient.h" |
| 45 #include "core/workers/SharedWorker.h" | 44 #include "core/workers/SharedWorker.h" |
| 46 #include "modules/serviceworkers/ServiceWorker.h" | 45 #include "modules/serviceworkers/ServiceWorker.h" |
| 47 #include "modules/serviceworkers/ServiceWorkerError.h" | 46 #include "modules/serviceworkers/ServiceWorkerError.h" |
| 48 #include "public/platform/WebServiceWorkerProvider.h" | 47 #include "public/platform/WebServiceWorkerProvider.h" |
| 49 #include "public/platform/WebServiceWorkerProviderClient.h" | 48 #include "public/platform/WebServiceWorkerProviderClient.h" |
| 50 #include "public/platform/WebString.h" | 49 #include "public/platform/WebString.h" |
| 51 #include "public/platform/WebURL.h" | 50 #include "public/platform/WebURL.h" |
| 52 | 51 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 } | 158 } |
| 160 | 159 |
| 161 void NavigatorServiceWorker::willDetachGlobalObjectFromFrame() | 160 void NavigatorServiceWorker::willDetachGlobalObjectFromFrame() |
| 162 { | 161 { |
| 163 m_provider = nullptr; | 162 m_provider = nullptr; |
| 164 DOMWindowProperty::willDetachGlobalObjectFromFrame(); | 163 DOMWindowProperty::willDetachGlobalObjectFromFrame(); |
| 165 } | 164 } |
| 166 | 165 |
| 167 | 166 |
| 168 } // namespace WebCore | 167 } // namespace WebCore |
| OLD | NEW |