| Index: chrome/browser/history/top_sites.cc
|
| diff --git a/chrome/browser/history/top_sites.cc b/chrome/browser/history/top_sites.cc
|
| index 1c6f67f9e1353806ed56411a564ac73384c3d336..cfd8c355a1f7b12de1d6ddd2a01c85da9b75c591 100644
|
| --- a/chrome/browser/history/top_sites.cc
|
| +++ b/chrome/browser/history/top_sites.cc
|
| @@ -606,7 +606,7 @@ bool TopSites::EncodeBitmap(const SkBitmap& bitmap,
|
| }
|
| // As we're going to cache this data, make sure the vector is only as big as
|
| // it needs to be.
|
| - (*bytes)->data = data;
|
| + (*bytes)->data()->swap(data);
|
| return true;
|
| }
|
|
|
|
|