Remove header OptionSet.h from FrameLoaderTypes.h
authordbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Jun 2017 00:50:53 +0000 (00:50 +0000)
committerdbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Jun 2017 00:50:53 +0000 (00:50 +0000)
commitcd63788f2a951eb07b051ca834ee7268c2654fc5
treee6c7fd97c404cef06d3250d923c727c0e1a10b41
parentf915544182725b0320926b19aa7b156a21b6ad97
Remove header OptionSet.h from FrameLoaderTypes.h
https://bugs.webkit.org/show_bug.cgi?id=173489

Reviewed by Joseph Pecoraro.

Although the header FrameLoaderTypes.h defines exactly one enum class, ReloadOption, whose
enumerators conform the power of two prerequisite for parameterizing an OptionSet for it
FrameLoaderTypes.h does not actually make use of the functionality provided by header
OptionSet.h. And not all source files that include FrameLoaderTypes.h need to use an OptionSet.

* loader/DocumentLoader.h: Include <wtf/OptionSet.h>.
* loader/FrameLoader.h: Ditto.
* loader/FrameLoaderTypes.h: Remove header <wtf/OptionSet.h>.
* replay/UserInputBridge.h: Include <wtf/Forward.h>.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@218434 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/loader/DocumentLoader.h
Source/WebCore/loader/FrameLoader.h
Source/WebCore/loader/FrameLoaderTypes.h
Source/WebCore/replay/UserInputBridge.h