| Index: third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js b/third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js
|
| index f6b9c0171818c4c59b28280b51a999caf27715ba..32c1e7ab8ca29798670a172c4efacad5467d21b6 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js
|
| @@ -67,14 +67,16 @@ SourceFrame.SourceFrame = class extends UI.SimpleView {
|
| */
|
| this._searchableView = null;
|
| this._editable = false;
|
| + this._textEditor.setReadOnly(true);
|
| }
|
|
|
| /**
|
| * @param {boolean} editable
|
| + * @protected
|
| */
|
| setEditable(editable) {
|
| this._editable = editable;
|
| - this._textEditor.setReadOnly(editable);
|
| + this._textEditor.setReadOnly(!editable);
|
| }
|
|
|
| /**
|
|
|