build-webkit --minimal fails with the following error message: ../../Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp:197:9: error: 'RuntimeEnabledFeatures' has not been declared ../../Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp:200:9: error: 'RuntimeEnabledFeatures' has not been declared The problem is that RuntimeEnabledFeatures.h is included inside if guards, but used unconditionally in these lines. I can't see any good reason to include any header unconditionally, let's remove these guards to fix the build.
Created attachment 283651 [details] Patch
note: revealed by http://trac.webkit.org/changeset/202091 : -#if ENABLE(SHADOW_DOM) if (preference == "WebKitShadowDOMEnabled") RuntimeEnabledFeatures::sharedFeatures().setShadowDOMEnabled(enabled); -#endif Now shadow DOM is used unconditionally and we need to include RuntimeEnabledFeatures.h always.
Comment on attachment 283651 [details] Patch Clearing flags on attachment: 283651 Committed r203398: <http://trac.webkit.org/changeset/203398>
All reviewed patches have been landed. Closing bug.