Index: chrome/browser/ui/webui/ntp_resource_cache.cc |
diff --git a/chrome/browser/ui/webui/ntp_resource_cache.cc b/chrome/browser/ui/webui/ntp_resource_cache.cc |
index a0ac1386100df7029b07579e180aeb648f03afcf..289f0f0ef82210b3c32406b3a81534daf7db3fb0 100644 |
--- a/chrome/browser/ui/webui/ntp_resource_cache.cc |
+++ b/chrome/browser/ui/webui/ntp_resource_cache.cc |
@@ -388,8 +388,13 @@ void NTPResourceCache::CreateNewTabHTML() { |
std::string()); |
} |
+ // Load the new tab page appropriate for this build |
+ // Note that some builds (eg. TOUCHUI) don't make use of everything we |
+ // do here (all of the template data, etc.), but we keep the back end |
+ // consistent across builds, supporting the union of all NTP front-ends |
+ // for simplicity. |
base::StringPiece new_tab_html(ResourceBundle::GetSharedInstance(). |
- GetRawDataResource(IDR_NEW_NEW_TAB_HTML)); |
+ GetRawDataResource(IDR_NEW_TAB_HTML)); |
// Inject the template data into the HTML so that it is available before any |
// layout is needed. |