| Index: content/browser/android/java/jni_helper_unittest.cc
|
| diff --git a/content/browser/android/java/jni_helper_unittest.cc b/content/browser/android/java/jni_helper_unittest.cc
|
| index 01b5ecfb93bab4107e00c05fb08d5004769f36b0..d12f4600f46f9a7f343ccfbc8426d53dc633be8b 100644
|
| --- a/content/browser/android/java/jni_helper_unittest.cc
|
| +++ b/content/browser/android/java/jni_helper_unittest.cc
|
| @@ -38,7 +38,7 @@ jmethodID GetMethodIDWrapper(JNIEnv* env, jclass clazz, const char* method,
|
|
|
| class JNIAndroidTest : public testing::Test {
|
| protected:
|
| - virtual void SetUp() {
|
| + void SetUp() override {
|
| JNIEnv* env = base::android::AttachCurrentThread();
|
| g_previous_functions = env->functions;
|
| hooked_functions = *g_previous_functions;
|
| @@ -46,7 +46,7 @@ class JNIAndroidTest : public testing::Test {
|
| hooked_functions.GetMethodID = &GetMethodIDWrapper;
|
| }
|
|
|
| - virtual void TearDown() {
|
| + void TearDown() override {
|
| JNIEnv* env = base::android::AttachCurrentThread();
|
| env->functions = g_previous_functions;
|
| Reset();
|
|
|