Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(777)

Unified Diff: chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.h

Issue 1031293002: Fix crashes due to gfx::Image unsafe thread passing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Attempt #2 to fix image_store_ios_unittest.mm Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.h
diff --git a/chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.h b/chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.h
index 3c73616de344826ce32422d55c01da2fe8795ce6..18185f08f6496af84e81e3f734c43377b3f332ef 100644
--- a/chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.h
+++ b/chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.h
@@ -50,7 +50,7 @@ class BookmarkImageServiceAndroid : public BookmarkImageService {
bool update_bookmark,
const base::Value* result);
- gfx::Image ResizeImage(gfx::Image image) override;
+ void ResizeImage(scoped_ptr<gfx::Image> *image) override;
content::BrowserContext* browser_context_;
// The script injected in a page to extract image urls.

Powered by Google App Engine
This is Rietveld 408576698