WebCore/loader/FrameLoaderTypes.h defines the FrameLoadType enum. WebKit/mac/WebView/WebFramePrivate.h and WebKit/win/Interfaces/IWebFramePrivate.idl define their own public WebFrameLoadType enum. The enums are out of sync at the moment, and it's very dangerous because The FrameLoadType -> WebFrameLoadType conversions happen as c-casts.
Created attachment 34425 [details] Initial patch
A quick scan, when these problems have been introduced: #1) WebFrameLoadTypeReloadAllowingStaleData (affecting mac & win) http://trac.webkit.org/changeset/40353/trunk/WebCore/loader/FrameLoaderTypes.h #2) WebFrameLoadTypeReloadFromOrigin (affecting win only) http://trac.webkit.org/changeset/39304/trunk/WebCore/loader/FrameLoaderTypes.h
Comment on attachment 34425 [details] Initial patch This changes public API headers and may break source and/or binary compat. The better way to do this would be to restore the old value to FrameLoadType, even though it is unused. As discussed on IRC. r- for now, awaiting new patch.
Created attachment 34429 [details] Updated patch Fix Maciej's comments.
Comment on attachment 34429 [details] Updated patch Clearing review patch. This won't compile, the new enum value is not handled in the switch'es in FrameLoader. Need to find a better solution.
Created attachment 34431 [details] Updated patch v2
Comment on attachment 34431 [details] Updated patch v2 r=me
Landed in r46965.