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

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

Issue 2608043002: DevTools: extract modules (with extensions) (Closed)
Patch Set: fix externs (PerfUI) Created 3 years, 11 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 452675253c91105bea0485a7132f4202840ccb5a..51fb1e6b17b8f870616117c0e920c2aba56ac692 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/source-code-diff.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/source-code-diff.html
@@ -22,7 +22,7 @@ function test()
function onBefore(beforeFrame)
{
- InspectorTest.addSniffer(Sources.SourceCodeDiff.prototype, "_decorationsSetForTest", decorationsSet);
+ InspectorTest.addSniffer(SourceFrame.SourceCodeDiff.prototype, "_decorationsSetForTest", decorationsSet);
beforeFrame.setContent(textAfter);
}
@@ -35,11 +35,11 @@ function test()
{
var type = decoration[1].type;
var name = "Unknown";
- if (type === Sources.SourceCodeDiff.GutterDecorationType.Insert)
+ if (type === SourceFrame.SourceCodeDiff.GutterDecorationType.Insert)
name = "Insert";
- else if (type === Sources.SourceCodeDiff.GutterDecorationType.Delete)
+ else if (type === SourceFrame.SourceCodeDiff.GutterDecorationType.Delete)
name = "Delete";
- else if (type === Sources.SourceCodeDiff.GutterDecorationType.Modify)
+ else if (type === SourceFrame.SourceCodeDiff.GutterDecorationType.Modify)
name = "Modify";
InspectorTest.addResult(decoration[0] + ":" + name)

Powered by Google App Engine
This is Rietveld 408576698