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

Unified Diff: LayoutTests/inspector/elements/styles/cached-sync-computed-styles.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/cached-sync-computed-styles.html
diff --git a/LayoutTests/inspector/elements/styles/cached-sync-computed-styles.html b/LayoutTests/inspector/elements/styles/cached-sync-computed-styles.html
index 018b0a83adc22ccb65fd7e7c2b45c31d23cce2f3..d305b6c51b15a023afa38e1f9aa1811df4d6bcd1 100644
--- a/LayoutTests/inspector/elements/styles/cached-sync-computed-styles.html
+++ b/LayoutTests/inspector/elements/styles/cached-sync-computed-styles.html
@@ -31,8 +31,8 @@ function test()
var callsLeft = 2;
nodeId = node.id;
InspectorTest.addSniffer(InspectorBackend.connection(), "_wrapCallbackAndSendMessageObject", onBackendCall, true);
- WebInspector.cssModel.getComputedStyleAsync(nodeId, styleCallback);
- WebInspector.cssModel.getComputedStyleAsync(nodeId, styleCallback);
+ InspectorTest.cssModel.getComputedStyleAsync(nodeId, styleCallback);
+ InspectorTest.cssModel.getComputedStyleAsync(nodeId, styleCallback);
function styleCallback()
{
if (--callsLeft)
@@ -44,7 +44,7 @@ function test()
function step2()
{
- WebInspector.cssModel.getComputedStyleAsync(nodeId, callback);
+ InspectorTest.cssModel.getComputedStyleAsync(nodeId, callback);
function callback()
{
InspectorTest.addResult("# of backend calls sent [style update + another request]: " + backendCallCount);

Powered by Google App Engine
This is Rietveld 408576698