summaryrefslogtreecommitdiffstats
path: root/chrome/browser/search/local_ntp_source.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/search/local_ntp_source.cc')
-rw-r--r--chrome/browser/search/local_ntp_source.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/search/local_ntp_source.cc b/chrome/browser/search/local_ntp_source.cc
index 8b8418e..d1fde35 100644
--- a/chrome/browser/search/local_ntp_source.cc
+++ b/chrome/browser/search/local_ntp_source.cc
@@ -8,11 +8,11 @@
#include "base/memory/ref_counted_memory.h"
#include "base/string_util.h"
#include "chrome/common/url_constants.h"
-#include "content/public/common/content_client.h"
#include "googleurl/src/gurl.h"
#include "grit/browser_resources.h"
#include "grit/ui_resources.h"
#include "net/url_request/url_request.h"
+#include "ui/base/resource/resource_bundle.h"
namespace {
@@ -58,7 +58,7 @@ void LocalNtpSource::StartDataRequest(
}
scoped_refptr<base::RefCountedStaticMemory> response(
- content::GetContentClient()->GetDataResourceBytes(identifier));
+ ResourceBundle::GetSharedInstance().LoadDataResourceBytes(identifier));
callback.Run(response);
}