According to Bug 103339(https://bugs.webkit.org/show_bug.cgi?id=103339), I hide #include "HTMLShadowElement.h".
Created attachment 186481 [details] Patch
Comment on attachment 186481 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=186481&action=review > Source/WebCore/dom/NodeRenderingContext.cpp:38 > +#if ENABLE(SHADOW_DOM) > #include "HTMLShadowElement.h" > +#endif Why do you want to do this? I don't think we need to do it because the content of HTMLShadowElement.h is already wrapped with ENABEL(SHADOW_DOM).
(In reply to comment #2) > (From update of attachment 186481 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=186481&action=review > > > Source/WebCore/dom/NodeRenderingContext.cpp:38 > > +#if ENABLE(SHADOW_DOM) > > #include "HTMLShadowElement.h" > > +#endif > > Why do you want to do this? > I don't think we need to do it because the content of HTMLShadowElement.h is already wrapped with ENABEL(SHADOW_DOM). I agree with your opinion. Thanks for your advice. I close this bug.
This code is gone.