| Index: client/html/release/htmlimpl.dart
|
| diff --git a/client/html/release/htmlimpl.dart b/client/html/release/htmlimpl.dart
|
| index 1ea897b18e9a815d0ff8d384dce93fe86db5b539..39644f521d890253ce78c2edec903ca85efe1d40 100644
|
| --- a/client/html/release/htmlimpl.dart
|
| +++ b/client/html/release/htmlimpl.dart
|
| @@ -22172,7 +22172,11 @@ class DOMWrapperBase {
|
|
|
| DOMWrapperBase._wrap(this._ptr) {
|
| // We should never be creating duplicate wrappers.
|
| - assert(_ptr.dartObjectLocalStorage === null);
|
| + // TODO(jacobr): this boolean value is evaluated outside of the assert
|
| + // to work around a mysterious and flaky bug in tip of trunk versions of
|
| + // chrome.
|
| + bool hasExistingWrapper = _ptr.dartObjectLocalStorage === null;
|
| + assert(hasExistingWrapper);
|
| _ptr.dartObjectLocalStorage = this;
|
| }
|
| }
|
| @@ -23137,7 +23141,7 @@ class EventTargetWrappingImplementation extends DOMWrapperBase implements EventT
|
| return _on;
|
| }
|
| }
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|