Chromium Code Reviews| Index: ui/android/java/src/org/chromium/ui/base/WindowAndroid.java |
| diff --git a/ui/android/java/src/org/chromium/ui/base/WindowAndroid.java b/ui/android/java/src/org/chromium/ui/base/WindowAndroid.java |
| index fc60dd20831b3b554d11e1b868ea753fab43c084..e21330b72290bf71b1532f1de61f0b0db0ff956b 100644 |
| --- a/ui/android/java/src/org/chromium/ui/base/WindowAndroid.java |
| +++ b/ui/android/java/src/org/chromium/ui/base/WindowAndroid.java |
| @@ -10,7 +10,6 @@ import android.annotation.SuppressLint; |
| import android.annotation.TargetApi; |
| import android.app.Activity; |
| import android.app.PendingIntent; |
| -import android.content.ContentResolver; |
| import android.content.Context; |
| import android.content.ContextWrapper; |
| import android.content.Intent; |
| @@ -495,11 +494,10 @@ public class WindowAndroid { |
| * Handles the data returned by the requested intent. |
| * @param window A window reference. |
| * @param resultCode Result code of the requested intent. |
| - * @param contentResolver An instance of ContentResolver class for accessing returned data. |
| + * @param context Application context. |
|
agrieve
2016/12/07 16:44:54
No need to ever pass around the application contex
mtomasz
2016/12/08 06:36:37
Done.
|
| * @param data The data returned by the intent. |
| */ |
| - void onIntentCompleted(WindowAndroid window, int resultCode, |
| - ContentResolver contentResolver, Intent data); |
| + void onIntentCompleted(WindowAndroid window, int resultCode, Context context, Intent data); |
| } |
| /** |