Index: dm/DMSrcSink.cpp |
diff --git a/dm/DMSrcSink.cpp b/dm/DMSrcSink.cpp |
index 358124782a3584537d4256d4e87e049e6489c7c4..19c8914107407978f91aa0ace60b50d9f282834b 100644 |
--- a/dm/DMSrcSink.cpp |
+++ b/dm/DMSrcSink.cpp |
@@ -885,6 +885,11 @@ void PreAbandonGpuContextErrorHandler(SkError, void*) {} |
DEFINE_bool(imm, false, "Run gpu configs in immediate mode."); |
Error GPUSink::draw(const Src& src, SkBitmap* dst, SkWStream*, SkString* log) const { |
+ |
+ SkString name = src.name(); |
+ const char* pcName = name.c_str(); |
+ pcName; |
+ |
GrContextOptions options; |
if (FLAGS_imm) { |
options.fImmediateMode = true; |