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

Unified Diff: src/vm/refcounted.h

Issue 1405293007: Bugfix in process handle: Do detaching from owner process separately from derefing. (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Created 5 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
« src/vm/process_handle.h ('K') | « src/vm/process_handle.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/vm/refcounted.h
diff --git a/src/vm/refcounted.h b/src/vm/refcounted.h
index a69cbca9465ebb1d55f11ab4fce836b5adb8b4fc..3f7f91b9331f284f141755b50c0b20e1bd07ab63 100644
--- a/src/vm/refcounted.h
+++ b/src/vm/refcounted.h
@@ -30,12 +30,6 @@ class Refcounted {
}
}
- protected:
- bool DecrementRefWithoutDelete() {
- ASSERT(ref_count_ > 0);
- return --ref_count_ == 0;
- }
-
private:
Atomic<int> ref_count_;
};
« src/vm/process_handle.h ('K') | « src/vm/process_handle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698