| Index: third_party/WebKit/Source/devtools/front_end/ui/Widget.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Widget.js b/third_party/WebKit/Source/devtools/front_end/ui/Widget.js
|
| index c030963a492b14dd4d51204d77f9947d76ede28b..57fe8d8f0f21004c9db6fa97fa06272cd303c633 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/Widget.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/Widget.js
|
| @@ -502,26 +502,6 @@ UI.Widget = class extends Common.Object {
|
| }
|
|
|
| /**
|
| - * @return {!UI.Size}
|
| - */
|
| - measurePreferredSize() {
|
| - var document = this.element.ownerDocument;
|
| - var oldParent = this.element.parentElement;
|
| - var oldNextSibling = this.element.nextSibling;
|
| -
|
| - UI.Widget._originalAppendChild.call(document.body, this.element);
|
| - this.element.positionAt(0, 0);
|
| - var result = new UI.Size(this.element.offsetWidth, this.element.offsetHeight);
|
| -
|
| - this.element.positionAt(undefined, undefined);
|
| - if (oldParent)
|
| - UI.Widget._originalInsertBefore.call(oldParent, this.element, oldNextSibling);
|
| - else
|
| - UI.Widget._originalRemoveChild.call(document.body, this.element);
|
| - return result;
|
| - }
|
| -
|
| - /**
|
| * @return {!UI.Constraints}
|
| */
|
| calculateConstraints() {
|
|
|