[graphite] Fixup GR_TEST_UTILS uses to GRAPHITE_TEST_UTILS
Change-Id: Icc941ea912c6335404002c13cc935e64236807bd
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/639862
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Arman Uguray <armansito@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
diff --git a/src/gpu/graphite/PaintParamsKey.cpp b/src/gpu/graphite/PaintParamsKey.cpp
index 3ec95d9..8f5239a 100644
--- a/src/gpu/graphite/PaintParamsKey.cpp
+++ b/src/gpu/graphite/PaintParamsKey.cpp
@@ -292,7 +292,7 @@
}
}
-#if GR_TEST_UTILS
+#if GRAPHITE_TEST_UTILS
bool PaintParamsKey::isErrorKey() const {
if (this->sizeInBytes() != sizeof(Header)) {
return false;
diff --git a/src/gpu/graphite/PaintParamsKey.h b/src/gpu/graphite/PaintParamsKey.h
index b3c2db1..8eb26d8 100644
--- a/src/gpu/graphite/PaintParamsKey.h
+++ b/src/gpu/graphite/PaintParamsKey.h
@@ -126,7 +126,7 @@
bool operator==(const PaintParamsKey& that) const;
bool operator!=(const PaintParamsKey& that) const { return !(*this == that); }
-#if GR_TEST_UTILS
+#if GRAPHITE_TEST_UTILS
bool isErrorKey() const;
#endif
diff --git a/src/gpu/graphite/Recording.cpp b/src/gpu/graphite/Recording.cpp
index aa9a171..75d6df4 100644
--- a/src/gpu/graphite/Recording.cpp
+++ b/src/gpu/graphite/Recording.cpp
@@ -86,7 +86,7 @@
}
}
-#if GR_TEST_UTILS
+#if GRAPHITE_TEST_UTILS
int RecordingPriv::numVolatilePromiseImages() const {
return fRecording->fVolatileLazyProxies.size();
}
diff --git a/src/gpu/graphite/RecordingPriv.h b/src/gpu/graphite/RecordingPriv.h
index dce281a..d350f4e 100644
--- a/src/gpu/graphite/RecordingPriv.h
+++ b/src/gpu/graphite/RecordingPriv.h
@@ -25,7 +25,7 @@
bool hasNonVolatileLazyProxies() const;
bool instantiateNonVolatileLazyProxies(ResourceProvider*);
-#if GR_TEST_UTILS
+#if GRAPHITE_TEST_UTILS
int numVolatilePromiseImages() const;
int numNonVolatilePromiseImages() const;
bool hasTasks() const;