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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/source-code-diff.html

Issue 2729783002: DevTools: Diff subsystem (Closed)
Patch Set: requestDiff Created 3 years, 10 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/LayoutTests/inspector/sources/source-code-diff.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/source-code-diff.html b/third_party/WebKit/LayoutTests/inspector/sources/source-code-diff.html
index 51fb1e6b17b8f870616117c0e920c2aba56ac692..3997c8551d035b9e88125997acc550ae63c8d06e 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/source-code-diff.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/source-code-diff.html
@@ -8,6 +8,7 @@
<script src="../../http/tests/inspector/debugger-test.js"></script>
<script src="../../http/tests/inspector/sources-test.js"></script>
<script>
+
function test()
{
Runtime.experiments.enableForTest("sourceDiff");
@@ -23,7 +24,7 @@ function test()
function onBefore(beforeFrame)
{
InspectorTest.addSniffer(SourceFrame.SourceCodeDiff.prototype, "_decorationsSetForTest", decorationsSet);
- beforeFrame.setContent(textAfter);
+ beforeFrame.uiSourceCode().setWorkingCopy(textAfter);
}
function decorationsSet(decorations)

Powered by Google App Engine
This is Rietveld 408576698