Bug 1571249 - Remove the IsTableCell() function. r=TYLin
commit85d61d1a95678f197558bf6bd9fc3461183b6670
authorL. David Baron <dbaron@dbaron.org>
Thu, 8 Aug 2019 19:48:12 +0000 (8 19:48 +0000)
committerL. David Baron <dbaron@dbaron.org>
Thu, 8 Aug 2019 19:48:12 +0000 (8 19:48 +0000)
tree66de965b53656e0774048e1aa9db957a789c9378
parent5afb94be0127a5a2cc79ec320a6a8fc97a8e8b1c
Bug 1571249 - Remove the IsTableCell() function. r=TYLin

It was made pointless by the previous patch.

This replaces callers that had a frame type for another reason with the
frame type check that IsTableCell did, and callers that needed to call
Type() with an IsTableCellFrame call.

Differential Revision: https://phabricator.services.mozilla.com/D40561

--HG--
extra : moz-landing-system : lando
layout/base/nsCSSFrameConstructor.cpp
layout/generic/ReflowInput.cpp
layout/mathml/nsMathMLmtableFrame.cpp
layout/tables/nsTableFrame.cpp
layout/tables/nsTableFrame.h
layout/tables/nsTableRowFrame.cpp