aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SamplePathText.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/SamplePathText.cpp')
-rw-r--r--samplecode/SamplePathText.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SamplePathText.cpp b/samplecode/SamplePathText.cpp
index fd3c799b2d..0f58c53365 100644
--- a/samplecode/SamplePathText.cpp
+++ b/samplecode/SamplePathText.cpp
@@ -319,7 +319,7 @@ public:
void swapAnimationBuffers() override {
this->INHERITED::swapAnimationBuffers();
- fFrontPaths.swap(fBackPaths);
+ std::swap(fFrontPaths, fBackPaths);
}
void drawGlyphs(SkCanvas* canvas) override {