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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js

Issue 2168323002: [DevTools] Explicitly require ResourceTreeModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [DevTools] Explicitly require ResourceTreeModel Created 4 years, 4 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/http/tests/inspector/workspace-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
index d5987ac5402cb94d3f78710699a2bbab27a79177..5863b5af83a2382802ead6cbdece212857a0ad19 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
@@ -52,7 +52,7 @@ InspectorTest.createMockTarget = function(id, debuggerModelConstructor, capabili
this.debuggerModel = debuggerModelConstructor ? new debuggerModelConstructor(this) : new WebInspector.DebuggerModel(this);
this._modelByConstructor.set(WebInspector.DebuggerModel, this.debuggerModel);
this.domModel = new WebInspector.DOMModel(this);
- this.cssModel = new WebInspector.CSSModel(this);
+ this.cssModel = new WebInspector.CSSModel(this, this.domModel);
}
MockTarget.prototype = {

Powered by Google App Engine
This is Rietveld 408576698