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

Unified Diff: include/core/SkTLazy.h

Issue 325603002: Clean up Skia for Clang's -Wtautological-undefined-compare (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 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 | « no previous file | src/core/SkPaint.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkTLazy.h
diff --git a/include/core/SkTLazy.h b/include/core/SkTLazy.h
index 518beecc8571448573f8da98134d68553c3ff482..a291e22a137692226425776dc9efaafb860836bb 100644
--- a/include/core/SkTLazy.h
+++ b/include/core/SkTLazy.h
@@ -66,11 +66,6 @@ public:
* contents.
*/
T* set(const T& src) {
- // Diagnoistic. May remove later. See crbug.com/364224
- if (NULL == &src) {
- sk_throw();
- }
-
if (this->isValid()) {
*fPtr = src;
} else {
« no previous file with comments | « no previous file | src/core/SkPaint.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698