Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / search / local_ntp_source.cc
index 6e668d7..8944ac3 100644 (file)
@@ -105,7 +105,8 @@ std::string GetConfigData(Profile* profile) {
   base::DictionaryValue config_data;
   config_data.Set("translatedStrings", GetTranslatedStrings().release());
   config_data.SetBoolean("isGooglePage",
-                         DefaultSearchProviderIsGoogle(profile));
+                         DefaultSearchProviderIsGoogle(profile) &&
+                         chrome::ShouldShowGoogleLocalNTP());
 
   // Serialize the dictionary.
   std::string js_text;