Remove unreferenced getter "debugDoesLayoutWithCallback".

I think I wanted to use this at some point but ended up going a
different direction. Instead, object.dart has a private field that
serves a similar purpose.
This commit is contained in:
Ian Hickson 2016-01-06 19:14:45 -08:00
parent f17f1ba1e5
commit 94833b24bf
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);