Switch to UniquePtr.
Only one use of scoped_ptr was incorrect (but then again, I spent an afternoon
with valgrind finding and fixing them just last week).
Change-Id: If5ec1c8aa0794a4f652bfd1c0fffccf95facdc40
diff --git a/src/jni_compiler.cc b/src/jni_compiler.cc
index c277157..79c6714 100644
--- a/src/jni_compiler.cc
+++ b/src/jni_compiler.cc
@@ -387,7 +387,7 @@
// TODO: this shouldn't be managed by the JniCompiler, we should have a
// code cache.
jni_code_.reset(MemMap::Map(kPageSize, PROT_READ | PROT_WRITE | PROT_EXEC));
- CHECK(jni_code_ != NULL);
+ CHECK(jni_code_.get() != NULL);
jni_code_top_ = jni_code_->GetAddress();
}