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

Unified Diff: third_party/WebKit/LayoutTests/inspector/layers/layer-replay-scale.html

Issue 2453673002: [DevTools] Scope common protocol infrastructure under Protocol namespace in a separate module. (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/layers/layer-replay-scale.html
diff --git a/third_party/WebKit/LayoutTests/inspector/layers/layer-replay-scale.html b/third_party/WebKit/LayoutTests/inspector/layers/layer-replay-scale.html
index f55a98536b671365bea146b191a70efc29dbd84b..d15cebf9f5b9dc1613e619707c9fff6325255522 100644
--- a/third_party/WebKit/LayoutTests/inspector/layers/layer-replay-scale.html
+++ b/third_party/WebKit/LayoutTests/inspector/layers/layer-replay-scale.html
@@ -22,7 +22,7 @@ function test()
function testImageForSnapshot(snapshot, scale)
{
return new Promise(fulfill => {
- InspectorTest.LayerTreeAgent.replaySnapshot(snapshot._id, undefined, undefined, scale, InspectorBackend.wrapClientCallback(fulfill, "LayerTreeAgent.replaySnapshot(): "));
+ InspectorTest.LayerTreeAgent.replaySnapshot(snapshot._id, undefined, undefined, scale, Protocol.wrapClientCallback(fulfill, "LayerTreeAgent.replaySnapshot(): "));
}).then(imageURL => new Promise(fulfill => {
var image = new Image();
image.addEventListener("load", () => fulfill(image), false);

Powered by Google App Engine
This is Rietveld 408576698