Fix typo where width/height were swapped in new debug layer manager
Bug: skia:9748
Change-Id: Ibb716e843b4e7068b3bf9b382086ce823755cb82
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/262381
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Nathaniel Nifong <nifong@google.com>
diff --git a/tools/debugger/DebugLayerManager.cpp b/tools/debugger/DebugLayerManager.cpp
index 26f419a..6e1460e 100644
--- a/tools/debugger/DebugLayerManager.cpp
+++ b/tools/debugger/DebugLayerManager.cpp
@@ -58,7 +58,7 @@
nullptr, // image
std::move(debugCanvas), // debugCanvas
numCommands-1, // command
- {layerBounds.height(), layerBounds.width()}, // layerBounds
+ {layerBounds.width(), layerBounds.height()}, // layerBounds
};
fDraws.set(k, std::move(event));