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

Unified Diff: chrome/browser/android/accessibility/font_size_prefs_android.cc

Issue 563743002: Remove FontSizePrefs destroy() method as its a singleton class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes Incorporated Created 6 years, 3 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 | « chrome/browser/android/accessibility/font_size_prefs_android.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/accessibility/font_size_prefs_android.cc
diff --git a/chrome/browser/android/accessibility/font_size_prefs_android.cc b/chrome/browser/android/accessibility/font_size_prefs_android.cc
index 7444faedaa776a193e7ad1b2e0b389c9ee687167..72ddb103ee125adf9a82cdf6c3c196eac8b9187f 100644
--- a/chrome/browser/android/accessibility/font_size_prefs_android.cc
+++ b/chrome/browser/android/accessibility/font_size_prefs_android.cc
@@ -30,10 +30,6 @@ FontSizePrefsAndroid::FontSizePrefsAndroid(JNIEnv* env, jobject obj)
FontSizePrefsAndroid::~FontSizePrefsAndroid() {
}
-void FontSizePrefsAndroid::Destroy(JNIEnv* env, jobject obj) {
- delete this;
-}
-
void FontSizePrefsAndroid::SetFontScaleFactor(JNIEnv* env,
jobject obj,
jfloat font_size) {
« no previous file with comments | « chrome/browser/android/accessibility/font_size_prefs_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698