summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2011-07-06 22:52:08 +0100
committerKristian Monsen <kristianm@google.com>2011-07-08 17:55:07 +0100
commitcb7fae5ad30624a97df1fe8c72c8484de3e465dd (patch)
tree240ffac15abe1b468effa6e5b26213f1aaf2b287 /chrome/common
parent0c081bc606af7dc01818d2bc96062412ce93a460 (diff)
downloadexternal_chromium-cb7fae5ad30624a97df1fe8c72c8484de3e465dd.zip
external_chromium-cb7fae5ad30624a97df1fe8c72c8484de3e465dd.tar.gz
external_chromium-cb7fae5ad30624a97df1fe8c72c8484de3e465dd.tar.bz2
Merge Chromium at r12.0.742.93: Compile fixes, add virtual destructors
New classes with virtual functions, but not virtual destructors. This does not compile on Android, so adding them. Change-Id: Ic9497dd6f83b7f3bafbab708e15ffd6507e82390
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/json_pref_store.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/json_pref_store.h b/chrome/common/json_pref_store.h
index d8da37d..51bffe1 100644
--- a/chrome/common/json_pref_store.h
+++ b/chrome/common/json_pref_store.h
@@ -30,6 +30,9 @@ class JsonPrefStore : public PersistentPrefStore,
class Delegate {
public:
virtual void OnPrefsRead(PrefReadError error, bool no_dir) = 0;
+#ifdef ANDROID
+ virtual ~Delegate() {};
+#endif
};
// |file_message_loop_proxy| is the MessageLoopProxy for a thread on which