Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 5f9ba69

Browse files
reed-at-googleSkia Commit-Bot
authored andcommitted
fix debugger bindings
Change-Id: Ie70a79ca907ffb4b30247d3d8564b7183a6e04f2 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/340658 Reviewed-by: Nathaniel Nifong <[email protected]> Commit-Queue: Mike Reed <[email protected]>
1 parent ec25563 commit 5f9ba69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

experimental/wasm-skp-debugger/debugger_bindings.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,15 +222,15 @@ class SkpDebugPlayer {
222222

223223
// Gets the clip and matrix of the last command drawn
224224
std::string lastCommandInfo() {
225-
SkMatrix vm = visibleCanvas()->getCurrentMatrix();
225+
SkM44 vm = visibleCanvas()->getCurrentMatrix();
226226
SkIRect clip = visibleCanvas()->getCurrentClip();
227227

228228
SkDynamicMemoryWStream stream;
229229
SkJSONWriter writer(&stream, SkJSONWriter::Mode::kFast);
230230
writer.beginObject(); // root
231231

232232
writer.appendName("ViewMatrix");
233-
DrawCommand::MakeJsonMatrix(writer, vm);
233+
DrawCommand::MakeJsonMatrix44(writer, vm);
234234
writer.appendName("ClipRect");
235235
DrawCommand::MakeJsonIRect(writer, clip);
236236

0 commit comments

Comments
 (0)