tighten typing
Created attachment 212525 [details] patch
Comment on attachment 212525 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=212525&action=review r=me > Source/WebCore/dom/Position.cpp:857 > + for (RenderObject *o = renderer.firstChild(); o && o != stop; o = o->nextInPreOrder()) * placement > Source/WebCore/rendering/RenderBlock.cpp:1074 > + if (anonymousBlock->continuation() || anonymousBlock->beingDestroyed()) > return false; We should postpone the continuation() check if possible, since it does a hash lookup. > Source/WebCore/rendering/RenderBlock.cpp:5956 > - RenderObject* firstLetterBlock = findFirstLetterBlock(this); > + RenderElement* firstLetterBlock = findFirstLetterBlock(this); I think we can make findFirstLetterBlock() return RenderBlock*.
https://trac.webkit.org/r156377