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

Unified Diff: LayoutTests/inspector/elements/styles/disable-property-workingcopy-update.html

Issue 881263002: DevTools: use target-based model accessors only. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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: LayoutTests/inspector/elements/styles/disable-property-workingcopy-update.html
diff --git a/LayoutTests/inspector/elements/styles/disable-property-workingcopy-update.html b/LayoutTests/inspector/elements/styles/disable-property-workingcopy-update.html
index d6f17e9082824d68a7c6a582b3d821fa3973474b..dfb8978b31be548857af0e15eb4ac895066425c1 100644
--- a/LayoutTests/inspector/elements/styles/disable-property-workingcopy-update.html
+++ b/LayoutTests/inspector/elements/styles/disable-property-workingcopy-update.html
@@ -19,10 +19,10 @@ function test()
function showEditor(next)
{
- var headers = WebInspector.cssModel.styleSheetHeaders();
+ var headers = InspectorTest.cssModel.styleSheetHeaders();
for (var i = 0; i < headers.length; ++i) {
if (headers[i].sourceURL.endsWith(".css")) {
- var cssLocation = new WebInspector.CSSLocation(WebInspector.cssModel.target(), headers[i].id, headers[i].sourceURL, 0);
+ var cssLocation = new WebInspector.CSSLocation(InspectorTest.cssModel.target(), headers[i].id, headers[i].sourceURL, 0);
InspectorTest.showUISourceCode(WebInspector.cssWorkspaceBinding.rawLocationToUILocation(cssLocation).uiSourceCode, callback);
break;
}

Powered by Google App Engine
This is Rietveld 408576698