| Index: third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-history.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-history.html b/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-history.html
|
| index f7f4e1cfdb3a0fa1f8bbf827ae1072e79adf1472..fb4432c3153899b89912c216dc4b0914417264c8 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-history.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-history.html
|
| @@ -27,12 +27,12 @@ function test()
|
| uiSourceCode = currentUISourceCode;
|
| next();
|
| }
|
| - WebInspector.workspace.uiSourceCodes().forEach(visitUISourceCodes);
|
| + Workspace.workspace.uiSourceCodes().forEach(visitUISourceCodes);
|
| },
|
|
|
| function testSetResourceContentMinor(next)
|
| {
|
| - InspectorTest.addSniffer(WebInspector.StyleFile.prototype, "_styleContentSet", styleUpdatedMinor);
|
| + InspectorTest.addSniffer(Bindings.StyleFile.prototype, "_styleContentSet", styleUpdatedMinor);
|
| uiSourceCode.setWorkingCopy("body {\n margin: 15px;\n padding: 10px;\n}");
|
|
|
| function styleUpdatedMinor()
|
| @@ -43,12 +43,12 @@ function test()
|
|
|
| function testSetResourceContentMajor(next)
|
| {
|
| - InspectorTest.addSniffer(WebInspector.StyleFile.prototype, "_styleContentSet", styleUpdatedMinor);
|
| + InspectorTest.addSniffer(Bindings.StyleFile.prototype, "_styleContentSet", styleUpdatedMinor);
|
| uiSourceCode.setWorkingCopy("body {\n margin: 20px;\n padding: 10px;\n}");
|
|
|
| function styleUpdatedMinor()
|
| {
|
| - InspectorTest.addSniffer(WebInspector.StyleFile.prototype, "_styleContentSet", styleUpdatedMajor);
|
| + InspectorTest.addSniffer(Bindings.StyleFile.prototype, "_styleContentSet", styleUpdatedMajor);
|
| uiSourceCode.commitWorkingCopy(function() { });
|
|
|
| function styleUpdatedMajor()
|
| @@ -76,7 +76,7 @@ function test()
|
| function step1(style)
|
| {
|
| var property = getLiveProperty(style, "margin");
|
| - InspectorTest.addSniffer(WebInspector.UISourceCode.prototype, "addRevision", dumpHistory(next));
|
| + InspectorTest.addSniffer(Workspace.UISourceCode.prototype, "addRevision", dumpHistory(next));
|
| property.setText("margin:30px;", true, true);
|
| }
|
| }
|
| @@ -103,7 +103,7 @@ function test()
|
| var rule = matchedStyles[i].rule;
|
| if (rule.origin !== "regular")
|
| continue;
|
| - callback(new WebInspector.CSSStyleDeclaration(InspectorTest.cssModel, null, rule.style));
|
| + callback(new SDK.CSSStyleDeclaration(InspectorTest.cssModel, null, rule.style));
|
| return;
|
| }
|
| InspectorTest.addResult("error: did not find any regular rule");
|
|
|