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

Unified Diff: tests/GrDrawTargetTest.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/GrContextFactoryTest.cpp ('k') | tests/GrPorterDuffTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/GrDrawTargetTest.cpp
diff --git a/tests/GrDrawTargetTest.cpp b/tests/GrDrawTargetTest.cpp
index 4f927091dec2d40358237eae2b659b90aada918a..c8492bc3ad29f6f65a987407566e7b7e1f0b8c46 100644
--- a/tests/GrDrawTargetTest.cpp
+++ b/tests/GrDrawTargetTest.cpp
@@ -14,9 +14,9 @@
DEF_GPUTEST_FOR_ALL_CONTEXTS(GrDrawTargetPrint, reporter, ctxInfo) {
// This used to assert.
- SkString result = ctxInfo.fGrContext->caps()->dump();
+ SkString result = ctxInfo.grContext()->caps()->dump();
SkASSERT(!result.isEmpty());
- SkString shaderResult = ctxInfo.fGrContext->caps()->shaderCaps()->dump();
+ SkString shaderResult = ctxInfo.grContext()->caps()->shaderCaps()->dump();
SkASSERT(!shaderResult.isEmpty());
}
« no previous file with comments | « tests/GrContextFactoryTest.cpp ('k') | tests/GrPorterDuffTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698