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

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: Remove unnecessary Pass() 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
« no previous file with comments | « no previous file | chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..d44c579e33365003a8768fe0de6454c0fe2b7ca2 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;
+ scoped_ptr<gfx::Image> ResizeImage(const gfx::Image& image) override;
content::BrowserContext* browser_context_;
// The script injected in a page to extract image urls.
« no previous file with comments | « no previous file | chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698