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

Unified Diff: LayoutTests/inspector/profiler/canvas2d/canvas2d-profiler-capturing-basics.html

Issue 14654002: Make optional arguments in CanvasRenderingContext2D match the spec [1]. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Amend inspector/profiler/canvas2d/canvas2d-profiler-capturing-basics.html Created 7 years, 7 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/profiler/canvas2d/canvas2d-profiler-capturing-basics.html
diff --git a/LayoutTests/inspector/profiler/canvas2d/canvas2d-profiler-capturing-basics.html b/LayoutTests/inspector/profiler/canvas2d/canvas2d-profiler-capturing-basics.html
index 2dfc4d7a9e3c9849c7b7c7edbba6938f7f96b7a2..cf52b70e73def5e8fa4f37db08a99bc644b16580 100644
--- a/LayoutTests/inspector/profiler/canvas2d/canvas2d-profiler-capturing-basics.html
+++ b/LayoutTests/inspector/profiler/canvas2d/canvas2d-profiler-capturing-basics.html
@@ -230,9 +230,9 @@ function testDeepNestedSaveRestoreCalls()
assertNumberOfCallsInLog(23);
for (var i = 0; i < 10; ++i) {
ctx.rotate(1);
- ctx.scale(2);
+ ctx.scale(2, 2);
ctx.clip();
- ctx.transform(3);
+ ctx.transform(3, 3, 3, 3, 3, 3);
ctx.restore();
assertNumberOfCallsInLog(24 + i);
}

Powered by Google App Engine
This is Rietveld 408576698