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

Unified Diff: mojo/public/python/src/common.cc

Issue 855043003: Revert "Content handler for python." (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « mojo/public/python/src/common.h ('k') | mojo/public/tools/bindings/generators/mojom_python_generator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/python/src/common.cc
diff --git a/mojo/public/python/src/common.cc b/mojo/public/python/src/common.cc
index e2a832ab389d2903fd6ead2547a6b92934d17af0..a80d01331259ca09bd39440c4c08db34a9c88613 100644
--- a/mojo/public/python/src/common.cc
+++ b/mojo/public/python/src/common.cc
@@ -44,12 +44,6 @@ ScopedPyRef::ScopedPyRef(PyObject* object, ScopedPyRefAcquire)
Py_XINCREF(object_);
}
-PyObject* ScopedPyRef::Release() {
- PyObject* object = object_;
- object_ = nullptr;
- return object;
-}
-
ScopedPyRef::~ScopedPyRef() {
if (object_) {
ScopedGIL acquire_gil;
« no previous file with comments | « mojo/public/python/src/common.h ('k') | mojo/public/tools/bindings/generators/mojom_python_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698