summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/thumbnail_database.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-14 23:29:00 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-14 23:29:00 +0000
commitf73d4744cf1ca00ca6e5dbd669d4a57be2ff6b92 (patch)
tree6aadd5317a0420ec7abe384ca2a8aa115c5b883f /chrome/browser/history/thumbnail_database.cc
parent2eca549205a7404aa5e9c9c978b7f3a1ea2f36d4 (diff)
downloadchromium_src-f73d4744cf1ca00ca6e5dbd669d4a57be2ff6b92.zip
chromium_src-f73d4744cf1ca00ca6e5dbd669d4a57be2ff6b92.tar.gz
chromium_src-f73d4744cf1ca00ca6e5dbd669d4a57be2ff6b92.tar.bz2
Fix commented-out favicon dumping code.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18369 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/thumbnail_database.cc')
-rw-r--r--chrome/browser/history/thumbnail_database.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/history/thumbnail_database.cc b/chrome/browser/history/thumbnail_database.cc
index cab27dc..f3bdeca 100644
--- a/chrome/browser/history/thumbnail_database.cc
+++ b/chrome/browser/history/thumbnail_database.cc
@@ -119,10 +119,10 @@ InitStatus ThumbnailDatabase::Init(const FilePath& db_name,
statement.column_blob_as_vector(1, &data);
char filename[256];
- sprintf(filename, "<<< YOUR PATH HERE >>>\\%d.jpeg", idx);
+ sprintf(filename, "<<< YOUR PATH HERE >>>\\%d.png", idx);
if (!data.empty()) {
file_util::WriteFile(ASCIIToWide(std::string(filename)),
- reinterpret_cast<char*>(data.data()),
+ reinterpret_cast<char*>(&data[0]),
data.size());
}
}