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

Unified Diff: third_party/skia/src/core/SkRefCnt.cpp

Issue 40973002: Enable reference adoption checks for Blink+skia in Debug builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Patching on gpu bots is basically broken, use rietveld for arbitrary patches. Created 7 years, 2 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: third_party/skia/src/core/SkRefCnt.cpp
===================================================================
--- third_party/skia/src/core/SkRefCnt.cpp (revision 11932)
+++ third_party/skia/src/core/SkRefCnt.cpp (working copy)
@@ -9,10 +9,5 @@
#include "SkRefCnt.h"
#include "SkWeakRefCnt.h"
-SK_DEFINE_INST_COUNT(SkRefCnt)
+SK_DEFINE_INST_COUNT(SkRefCntBase)
SK_DEFINE_INST_COUNT(SkWeakRefCnt)
-
-#ifdef SK_BUILD_FOR_WIN
-SkRefCnt::SkRefCnt(const SkRefCnt&) { }
-SkRefCnt& SkRefCnt::operator=(const SkRefCnt&) { return *this; }
-#endif
« skia/config/sk_ref_cnt_ext_debug.h ('K') | « third_party/skia/include/core/SkRefCnt.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698