Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1226)

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/UISourceCodeFrame.js

Issue 2567633003: [DevTools] Make SourceFrame.setEditable work. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/sources/UISourceCodeFrame.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/UISourceCodeFrame.js b/third_party/WebKit/Source/devtools/front_end/sources/UISourceCodeFrame.js
index 5a01c20dced33e8e79ce440f5e834efe1f2ef5e0..53e49541b293e5da5a2d1219ef4d9b6de287efc9 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/UISourceCodeFrame.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/UISourceCodeFrame.js
@@ -272,7 +272,7 @@ Sources.UISourceCodeFrame = class extends SourceFrame.SourceFrame {
this.element.classList.toggle(
'source-frame-unsaved-committed-changes',
Persistence.persistence.hasUnsavedCommittedChanges(this._uiSourceCode));
- this.setEditable(!this._canEditSource());
+ this.setEditable(this._canEditSource());
lushnikov 2016/12/10 00:59:50 how did it work at all?
}
onUISourceCodeContentChanged() {
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698