Commit abf3f1bb authored by Ian Hickson's avatar Ian Hickson

Merge pull request #651 from Hixie/zero-size-painting-context

Remove the assert when opening popup menus.
parents 1a0bdf41 fbd612e6
......@@ -7,12 +7,12 @@ import 'dart:ui' as ui;
import 'package:flutter/animation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/rendering.dart';
import 'package:mojo/bindings.dart' as bindings;
import 'package:mojo/core.dart' as core;
import 'package:sky_services/pointer/pointer.mojom.dart';
import 'box.dart';
import 'debug.dart';
import 'hit_test.dart';
import 'object.dart';
import 'view.dart';
......
......@@ -62,7 +62,6 @@ class PaintingContext {
PaintingContext._(this._containerLayer, this._paintBounds) {
assert(_containerLayer != null);
assert(_paintBounds != null);
assert(!_paintBounds.isEmpty);
}
final ContainerLayer _containerLayer;
......
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