Index: chrome/browser/ui/webui/options/language_options_handler_common.h |
diff --git a/chrome/browser/ui/webui/options/language_options_handler_common.h b/chrome/browser/ui/webui/options/language_options_handler_common.h |
index 1b94a67d3c55d0cdbaa740c2f21fcf62d9150ba0..18e3355757630386b24c888ad202b5d5eddee044 100644 |
--- a/chrome/browser/ui/webui/options/language_options_handler_common.h |
+++ b/chrome/browser/ui/webui/options/language_options_handler_common.h |
@@ -5,6 +5,8 @@ |
#ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_LANGUAGE_OPTIONS_HANDLER_COMMON_H_ |
#define CHROME_BROWSER_UI_WEBUI_OPTIONS_LANGUAGE_OPTIONS_HANDLER_COMMON_H_ |
+#include <memory> |
+ |
#include "base/macros.h" |
#include "base/memory/weak_ptr.h" |
#include "chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h" |
@@ -49,7 +51,7 @@ class LanguageOptionsHandlerCommon |
// |
// Note that true in values does not mean anything. We just use the |
// dictionary as a set. |
- static base::DictionaryValue* GetUILanguageCodeSet(); |
+ static std::unique_ptr<base::DictionaryValue> GetUILanguageCodeSet(); |
// Gets the set of language codes that can be used for spellchecking. |
// The return value will look like: |
@@ -57,7 +59,7 @@ class LanguageOptionsHandlerCommon |
// |
// Note that true in values does not mean anything. We just use the |
// dictionary as a set. |
- static base::DictionaryValue* GetSpellCheckLanguageCodeSet(); |
+ static std::unique_ptr<base::DictionaryValue> GetSpellCheckLanguageCodeSet(); |
private: |
// Sets the application locale. |