Index: chrome/browser/sync/test/integration/bookmarks_helper.cc |
diff --git a/chrome/browser/sync/test/integration/bookmarks_helper.cc b/chrome/browser/sync/test/integration/bookmarks_helper.cc |
index 91ee0769e4b2f37be7640576a7c60986961a4282..c25680909949813fe0519a609b20e412e09ae491 100644 |
--- a/chrome/browser/sync/test/integration/bookmarks_helper.cc |
+++ b/chrome/browser/sync/test/integration/bookmarks_helper.cc |
@@ -741,7 +741,7 @@ gfx::Image Create1xFaviconFromPNGFile(const std::string& path) { |
std::string contents; |
base::ReadFileToString(full_path, &contents); |
return gfx::Image::CreateFrom1xPNGBytes( |
- reinterpret_cast<const unsigned char*>(contents.data()), contents.size()); |
+ base::RefCountedString::TakeString(&contents)); |
} |
std::string IndexedURL(int i) { |