Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: tests/TestTest.cpp

Issue 1966013002: Turn ContextInfos returned by GrContextFactory into structs. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Address comment Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/TessellatingPathRendererTests.cpp ('k') | tests/TextBlobCacheTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/TestTest.cpp
diff --git a/tests/TestTest.cpp b/tests/TestTest.cpp
index 5e5000ebca4eb9dcfc07de531bba440b448f76e8..27ec1634dfe8e339daf467b050dbb398fc1e51f9 100644
--- a/tests/TestTest.cpp
+++ b/tests/TestTest.cpp
@@ -31,7 +31,7 @@ DEF_GPUTEST(TestGpuFactory, reporter, factory) {
#if SK_SUPPORT_GPU
DEF_GPUTEST_FOR_ALL_GL_CONTEXTS(TestGpuAllContexts, reporter, ctxInfo) {
REPORTER_ASSERT(reporter, reporter);
- REPORTER_ASSERT(reporter, ctxInfo.fGrContext);
+ REPORTER_ASSERT(reporter, ctxInfo.grContext());
}
#endif
@@ -40,7 +40,7 @@ DEF_GPUTEST_FOR_ALL_GL_CONTEXTS(TestGpuAllContexts, reporter, ctxInfo) {
#if SK_SUPPORT_GPU
DEF_GPUTEST_FOR_RENDERING_CONTEXTS(TestGpuRenderingContexts, reporter, ctxInfo) {
REPORTER_ASSERT(reporter, reporter);
- REPORTER_ASSERT(reporter, ctxInfo.fGrContext);
+ REPORTER_ASSERT(reporter, ctxInfo.grContext());
}
#endif
@@ -49,6 +49,6 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(TestGpuRenderingContexts, reporter, ctxInfo)
#if SK_SUPPORT_GPU
DEF_GPUTEST_FOR_NULLGL_CONTEXT(TestGpuNullContext, reporter, ctxInfo) {
REPORTER_ASSERT(reporter, reporter);
- REPORTER_ASSERT(reporter, ctxInfo.fGrContext);
+ REPORTER_ASSERT(reporter, ctxInfo.grContext());
}
#endif
« no previous file with comments | « tests/TessellatingPathRendererTests.cpp ('k') | tests/TextBlobCacheTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698