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

Unified Diff: include/gpu/GrResourceKey.h

Issue 938943002: Allow GrGpuResources' unique keys to be changed. (Closed) Base URL: https://skia.googlesource.com/skia.git@rename
Patch Set: add a test case Created 5 years, 10 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
Index: include/gpu/GrResourceKey.h
diff --git a/include/gpu/GrResourceKey.h b/include/gpu/GrResourceKey.h
index 14e7a754e31f35b1322965b06f0ce3f8e9a845aa..0e98dd522c8330b3c1aaa84ce370bfc73eef0038 100644
--- a/include/gpu/GrResourceKey.h
+++ b/include/gpu/GrResourceKey.h
@@ -45,7 +45,6 @@ protected:
}
bool operator==(const GrResourceKey& that) const {
- SkASSERT(this->isValid() && that.isValid());
return 0 == memcmp(fKey.get(), that.fKey.get(), this->size());
}

Powered by Google App Engine
This is Rietveld 408576698