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

Unified Diff: Source/wtf/RefCounted.h

Issue 344523002: Remove RefCounted::relaxAdoptionRequirement. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/RefCounted.h
diff --git a/Source/wtf/RefCounted.h b/Source/wtf/RefCounted.h
index 662ae55cb4e9cd398bf42f6c4ac971acd87ed7ab..2e248d90d529d5a73b8cf925fc340e00d3c1a76e 100644
--- a/Source/wtf/RefCounted.h
+++ b/Source/wtf/RefCounted.h
@@ -79,15 +79,6 @@ public:
return m_refCount;
}
- void relaxAdoptionRequirement()
- {
- ASSERT_WITH_SECURITY_IMPLICATION(!m_deletionHasBegun);
-#if CHECK_REF_COUNTED_LIFECYCLE
- ASSERT(m_adoptionIsRequired);
- m_adoptionIsRequired = false;
-#endif
- }
-
protected:
RefCountedBase()
: m_refCount(1)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698