Returning (m_classType == InheritedClass) would do the job just as well.
Created attachment 115392 [details] Patch
Comment on attachment 115392 [details] Patch r=me
Comment on attachment 115392 [details] Patch Clearing flags on attachment: 115392 Committed r100481: <http://trac.webkit.org/changeset/100481>
All reviewed patches have been landed. Closing bug.