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

Unified Diff: content/browser/android/java/jni_helper_unittest.cc

Issue 897773002: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 10 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
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();

Powered by Google App Engine
This is Rietveld 408576698