diff --git a/impeller/entity/contents/text_contents.cc b/impeller/entity/contents/text_contents.cc index 9495556bef6f5..fceab90a6ed26 100644 --- a/impeller/entity/contents/text_contents.cc +++ b/impeller/entity/contents/text_contents.cc @@ -4,6 +4,7 @@ #include "impeller/entity/contents/text_contents.h" +#include #include #include #include @@ -193,7 +194,7 @@ bool TextContents::Render(const ContentContext& renderer, for (const Point& point : unit_points) { vtx.unit_position = point; - ::memcpy(vtx_contents++, &vtx, sizeof(VS::PerVertexData)); + std::memcpy(vtx_contents++, &vtx, sizeof(VS::PerVertexData)); } } }