| Index: base/android/scoped_java_ref_unittest.cc
|
| diff --git a/base/android/scoped_java_ref_unittest.cc b/base/android/scoped_java_ref_unittest.cc
|
| index 36f253c4e99cfb0d684b1cb97df73fb9a7bbe366..3f4419af6d2b648174632dd9fa04ed24728ae1b4 100644
|
| --- a/base/android/scoped_java_ref_unittest.cc
|
| +++ b/base/android/scoped_java_ref_unittest.cc
|
| @@ -40,7 +40,7 @@ void DeleteLocalRef(JNIEnv* env, jobject obj) {
|
|
|
| class ScopedJavaRefTest : public testing::Test {
|
| protected:
|
| - virtual void SetUp() {
|
| + void SetUp() override {
|
| g_local_refs = 0;
|
| g_global_refs = 0;
|
| JNIEnv* env = AttachCurrentThread();
|
| @@ -55,7 +55,7 @@ class ScopedJavaRefTest : public testing::Test {
|
| hooked_functions.DeleteLocalRef = &DeleteLocalRef;
|
| }
|
|
|
| - virtual void TearDown() {
|
| + void TearDown() override {
|
| JNIEnv* env = AttachCurrentThread();
|
| env->functions = g_previous_functions;
|
| }
|
|
|