summaryrefslogtreecommitdiff
path: root/chromium/third_party/skia/src/gpu/BufferWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/skia/src/gpu/BufferWriter.h')
-rw-r--r--chromium/third_party/skia/src/gpu/BufferWriter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/skia/src/gpu/BufferWriter.h b/chromium/third_party/skia/src/gpu/BufferWriter.h
index b93273e97a2..35ad787c3f6 100644
--- a/chromium/third_party/skia/src/gpu/BufferWriter.h
+++ b/chromium/third_party/skia/src/gpu/BufferWriter.h
@@ -304,7 +304,7 @@ inline VertexWriter& operator<<(VertexWriter& w, const VertexWriter::RepeatDesc<
}
template <>
-SK_MAYBE_UNUSED inline VertexWriter& operator<<(VertexWriter& w, const skvx::float4& vector) {
+[[maybe_unused]] inline VertexWriter& operator<<(VertexWriter& w, const skvx::float4& vector) {
w.validate(sizeof(vector));
vector.store(w.fPtr);
w = w.makeOffset(sizeof(vector));
@@ -354,7 +354,7 @@ private:
};
template <>
-SK_MAYBE_UNUSED inline VertexWriter& operator<<(VertexWriter& w, const VertexColor& color) {
+[[maybe_unused]] inline VertexWriter& operator<<(VertexWriter& w, const VertexColor& color) {
w << color.fColor[0];
if (color.fWideColor) {
w << color.fColor[1]