Fix a couple Wshadow warnings
Change-Id: I04da5871c668b1ed9ca8db7fdcbfe06a70ee227f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/440079
Commit-Queue: Brian Salomon <bsalomon@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: Brian Salomon <bsalomon@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
diff --git a/samplecode/SamplePathText.cpp b/samplecode/SamplePathText.cpp
index 97c4c26..20fb5f9 100644
--- a/samplecode/SamplePathText.cpp
+++ b/samplecode/SamplePathText.cpp
@@ -271,9 +271,9 @@
/**
* Called on a background thread. Here we can only modify fBackPaths.
*/
- void runAnimationTask(double t, double dt, int w, int h) override {
+ void runAnimationTask(double t, double dt, int width, int height) override {
const float tsec = static_cast<float>(t);
- this->MovingGlyphAnimator::runAnimationTask(t, 0.5 * dt, w, h);
+ this->MovingGlyphAnimator::runAnimationTask(t, 0.5 * dt, width, height);
for (int i = 0; i < kNumPaths; ++i) {
const Glyph& glyph = fGlyphs[i];