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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/styles-1/cached-sync-computed-styles.html

Issue 2450973002: [DevTools] Inherit WI.Target from Protocol.Target. (Closed)
Patch Set: Created 4 years, 2 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/elements/styles-1/cached-sync-computed-styles.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles-1/cached-sync-computed-styles.html b/third_party/WebKit/LayoutTests/inspector/elements/styles-1/cached-sync-computed-styles.html
index 6f702fd76d37b129f686072768d3e742e6e91e2c..4fda2eb4d93422be26d122b1071685e186fd1d45 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/styles-1/cached-sync-computed-styles.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/styles-1/cached-sync-computed-styles.html
@@ -30,7 +30,7 @@ function test()
{
var callsLeft = 2;
nodeId = node.id;
- InspectorTest.addSniffer(InspectorTest.connection, "_wrapCallbackAndSendMessageObject", onBackendCall, true);
+ InspectorTest.addSniffer(Protocol.Target.prototype, "_wrapCallbackAndSendMessageObject", onBackendCall, true);
InspectorTest.cssModel.computedStylePromise(nodeId).then(styleCallback);
InspectorTest.cssModel.computedStylePromise(nodeId).then(styleCallback);
function styleCallback()

Powered by Google App Engine
This is Rietveld 408576698