Merge pull request #1107 from Hixie/debugDoesLayoutWithCallback

Remove unreferenced getter "debugDoesLayoutWithCallback".
This commit is contained in:
Ian Hickson 2016-01-06 19:42:51 -08:00
commit 07ed3fbf38
2 changed files with 1 additions and 4 deletions

View File

@ -402,9 +402,6 @@ class RenderBlockViewport extends RenderBlockBase {
// scroll the RenderBlockViewport, it would shift in its parent if
// the parent was baseline-aligned, which makes no sense.
// TODO(abarth): debugDoesLayoutWithCallback appears to be unreferenced.
bool get debugDoesLayoutWithCallback => true;
void performLayout() {
if (_callback != null) {
try {

View File

@ -786,7 +786,7 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget {
/// information without informing this render object.
void performLayout();
/// Allows this render object to mutation its child list during layout and
/// Allows this render object to mutate its child list during layout and
/// invokes callback.
void invokeLayoutCallback(LayoutCallback callback) {
assert(_debugMutationsLocked);