diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-20 21:43:07 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-20 21:43:07 +0000 |
commit | 5d383ab616e2e5ed67db60052ba95ebfeb2067ca (patch) | |
tree | b6ce29b81a7e5147578fe40457bacd3f99ed9f19 /chrome/test/testing_profile.cc | |
parent | ec623dad7b56ca081a8eb5a26dc45d60509f521d (diff) | |
download | chromium_src-5d383ab616e2e5ed67db60052ba95ebfeb2067ca.zip chromium_src-5d383ab616e2e5ed67db60052ba95ebfeb2067ca.tar.gz chromium_src-5d383ab616e2e5ed67db60052ba95ebfeb2067ca.tar.bz2 |
Revert "Move NTP CSS resources into the NTP resource cache." because it slowed down NTP on mac.
This reverts commit r32649.
Review URL: http://codereview.chromium.org/425004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32675 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/testing_profile.cc')
-rw-r--r-- | chrome/test/testing_profile.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/test/testing_profile.cc b/chrome/test/testing_profile.cc index 39e847a..b718773 100644 --- a/chrome/test/testing_profile.cc +++ b/chrome/test/testing_profile.cc @@ -7,7 +7,6 @@ #include "build/build_config.h" #include "base/string_util.h" #include "chrome/browser/bookmarks/bookmark_model.h" -#include "chrome/browser/dom_ui/ntp_resource_cache.h" #include "chrome/browser/history/history_backend.h" #include "chrome/browser/sync/profile_sync_service.h" #include "chrome/common/chrome_constants.h" @@ -202,12 +201,6 @@ void TestingProfile::InitThemes() { } } -NTPResourceCache* TestingProfile::GetNTPResourceCache() { - if (!ntp_resource_cache_.get()) - ntp_resource_cache_.reset(new NTPResourceCache(this)); - return ntp_resource_cache_.get(); -} - void TestingProfile::BlockUntilHistoryProcessesPendingRequests() { DCHECK(history_service_.get()); DCHECK(MessageLoop::current()); |