Merge pull request #1107 from Hixie/debugDoesLayoutWithCallback
Remove unreferenced getter "debugDoesLayoutWithCallback".
This commit is contained in:
commit
07ed3fbf38
@ -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 {
|
|||||||
/// 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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user