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

Unified Diff: base/bind_internal.h.pump

Issue 822713002: Update from https://crrev.com/309415 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years 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: base/bind_internal.h.pump
diff --git a/base/bind_internal.h.pump b/base/bind_internal.h.pump
index 559c184ea10d3bda503906c1c8636f412335f5ec..0ed3ca2eebd988e31c726ad739f6f8edf9d99c7a 100644
--- a/base/bind_internal.h.pump
+++ b/base/bind_internal.h.pump
@@ -492,18 +492,20 @@ $if ARITY == 0 [[
]]
}
- virtual ~BindState() {
-$if ARITY > 0 [[
- MaybeRefcount<HasIsMethodTag<Runnable>::value, P1>::Release(p1_);
-]]
- }
-
RunnableType runnable_;
$for ARG [[
P$(ARG) p$(ARG)_;
]]
+
+ private:
+ ~BindState() override {
+$if ARITY > 0 [[
+ MaybeRefcount<HasIsMethodTag<Runnable>::value, P1>::Release(p1_);
+]]
+ }
+
};
]] $$ for ARITY

Powered by Google App Engine
This is Rietveld 408576698