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

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

Issue 2772643002: DevTools: Changes View (Closed)
Patch Set: Created 3 years, 9 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/source_frame/UISourceCodeFrame.js
diff --git a/third_party/WebKit/Source/devtools/front_end/source_frame/UISourceCodeFrame.js b/third_party/WebKit/Source/devtools/front_end/source_frame/UISourceCodeFrame.js
index 33beb72d1fb9b4caf8d25d73cc56c6444a0d798f..a226cbaead7a4eccb3ec84836f5d4106987f0a21 100644
--- a/third_party/WebKit/Source/devtools/front_end/source_frame/UISourceCodeFrame.js
+++ b/third_party/WebKit/Source/devtools/front_end/source_frame/UISourceCodeFrame.js
@@ -256,7 +256,7 @@ SourceFrame.UISourceCodeFrame = class extends SourceFrame.SourceFrame {
_updateDiffUISourceCode() {
if (!this._diff)
return;
- if (this._persistenceBinding)
+ if (this._persistenceBinding && this._persistenceBinding.exactMatch)
luoe 2017/03/23 02:03:16 joel: stray code
einbinder 2017/03/23 04:32:48 Done.
this._diff.setUISourceCode(this._persistenceBinding.network);
else if (this._uiSourceCode.project().type() === Workspace.projectTypes.Network)
this._diff.setUISourceCode(this._uiSourceCode);

Powered by Google App Engine
This is Rietveld 408576698