Misc. cleanup in Modules/fetch
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Dec 2016 21:22:07 +0000 (21:22 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Dec 2016 21:22:07 +0000 (21:22 +0000)
commitdaa4544c7bc9054a0369c1dd41bc26755648037c
tree9a00d868b96e1a48e3f7b3f9f973caee070d8ce6
parentfa8a099702e76c084ca5497dd09b2c4498ede3f6
Misc. cleanup in Modules/fetch
https://bugs.webkit.org/show_bug.cgi?id=165240

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2016-12-01
Reviewed by Darin Adler.

* Modules/fetch/DOMWindowFetch.h:
* Modules/fetch/FetchBody.cpp:
* Modules/fetch/FetchBody.h:
* Modules/fetch/FetchBodyConsumer.cpp:
* Modules/fetch/FetchBodyOwner.cpp:
* Modules/fetch/FetchBodyOwner.h:
* Modules/fetch/FetchInternals.js:
(consumeStream):
* Modules/fetch/FetchLoader.cpp:
* Modules/fetch/FetchResponse.h:
Remove unnecessary includes and forward declarations.

* Modules/fetch/DOMWindowFetch.js:
(fetch):
* Modules/fetch/FetchResponse.js:
(initializeFetchResponse):
* Modules/fetch/WorkerGlobalScopeFetch.js:
(fetch):
Improve style.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@209195 268f45cc-cd09-0410-ab3c-d52691b4dbfc
13 files changed:
Source/WebCore/ChangeLog
Source/WebCore/Modules/fetch/DOMWindowFetch.h
Source/WebCore/Modules/fetch/DOMWindowFetch.js
Source/WebCore/Modules/fetch/FetchBody.cpp
Source/WebCore/Modules/fetch/FetchBody.h
Source/WebCore/Modules/fetch/FetchBodyConsumer.cpp
Source/WebCore/Modules/fetch/FetchBodyOwner.cpp
Source/WebCore/Modules/fetch/FetchBodyOwner.h
Source/WebCore/Modules/fetch/FetchInternals.js
Source/WebCore/Modules/fetch/FetchLoader.cpp
Source/WebCore/Modules/fetch/FetchResponse.h
Source/WebCore/Modules/fetch/FetchResponse.js
Source/WebCore/Modules/fetch/WorkerGlobalScopeFetch.js