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

Unified Diff: third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js

Issue 2889013002: DevTools: introduce uiSourceCode.mimeType() method (Closed)
Patch Set: address comments Created 3 years, 7 months 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
Index: third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js b/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js
index 4dbfe95c49cdf5c1b9bb3ea9432801de9666ba65..a38015fb93a395aa32ff67f98b901533edc35ebf 100644
--- a/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js
+++ b/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js
@@ -178,8 +178,7 @@ Changes.ChangesView = class extends UI.VBox {
this._editor.setHighlightMode({
name: 'devtools-diff',
diffRows: this._diffRows,
- mimeType: Bindings.NetworkProject.uiSourceCodeMimeType(
- /** @type {!Workspace.UISourceCode} */ (this._selectedUISourceCode)),
+ mimeType: /** @type {!Workspace.UISourceCode} */ (this._selectedUISourceCode).mimeType(),
baselineLines: originalLines,
currentLines: currentLines
});

Powered by Google App Engine
This is Rietveld 408576698