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

Unified Diff: chrome/browser/android/shortcut_helper.cc

Issue 2417263002: Pass JavaRef to Java methods in ui. (Closed)
Patch Set: Created 4 years, 2 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/android/shortcut_helper.cc
diff --git a/chrome/browser/android/shortcut_helper.cc b/chrome/browser/android/shortcut_helper.cc
index dd68f9c0c32c34dd09aa4c23993eaf9a5b466681..50b38e420235f2826c28085b76d7e2016547f8f3 100644
--- a/chrome/browser/android/shortcut_helper.cc
+++ b/chrome/browser/android/shortcut_helper.cc
@@ -239,7 +239,7 @@ SkBitmap ShortcutHelper::FinalizeLauncherIconInBackground(
}
return result.obj()
- ? gfx::CreateSkBitmapFromJavaBitmap(gfx::JavaBitmap(result.obj()))
+ ? gfx::CreateSkBitmapFromJavaBitmap(gfx::JavaBitmap(result))
: SkBitmap();
}
« no previous file with comments | « no previous file | content/browser/android/composited_touch_handle_drawable.cc » ('j') | ui/gfx/android/java_bitmap.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698