Commit 94833b24 authored by Ian Hickson's avatar Ian Hickson

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.
parent f17f1ba1
...@@ -402,9 +402,6 @@ class RenderBlockViewport extends RenderBlockBase { ...@@ -402,9 +402,6 @@ class RenderBlockViewport extends RenderBlockBase {
// scroll the RenderBlockViewport, it would shift in its parent if // scroll the RenderBlockViewport, it would shift in its parent if
// the parent was baseline-aligned, which makes no sense. // the parent was baseline-aligned, which makes no sense.
// TODO(abarth): debugDoesLayoutWithCallback appears to be unreferenced.
bool get debugDoesLayoutWithCallback => true;
void performLayout() { void performLayout() {
if (_callback != null) { if (_callback != null) {
try { try {
......
...@@ -786,7 +786,7 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget { ...@@ -786,7 +786,7 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget {
/// information without informing this render object. /// information without informing this render object.
void performLayout(); 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. /// invokes callback.
void invokeLayoutCallback(LayoutCallback callback) { void invokeLayoutCallback(LayoutCallback callback) {
assert(_debugMutationsLocked); assert(_debugMutationsLocked);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment