summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bookmarks/bookmark_html_writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_html_writer.cc')
-rw-r--r--chrome/browser/bookmarks/bookmark_html_writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/bookmarks/bookmark_html_writer.cc b/chrome/browser/bookmarks/bookmark_html_writer.cc
index d66c35f..38899bf 100644
--- a/chrome/browser/bookmarks/bookmark_html_writer.cc
+++ b/chrome/browser/bookmarks/bookmark_html_writer.cc
@@ -249,7 +249,7 @@ class Writer : public Task {
BookmarkFaviconFetcher::URLFaviconMap::iterator itr =
favicons_map_->find(url_string);
if (itr != favicons_map_->end()) {
- scoped_refptr<RefCountedMemory> data = itr->second.get();
+ scoped_refptr<RefCountedMemory> data(itr->second.get());
std::string favicon_data;
favicon_data.assign(reinterpret_cast<const char*>(data->front()),
data->size());