Index: content/browser/android/composited_touch_handle_drawable.cc |
diff --git a/content/browser/android/composited_touch_handle_drawable.cc b/content/browser/android/composited_touch_handle_drawable.cc |
index fb19fc8b8872827f3722428ac045b2e442b1f27d..f03c9e67a15fa6dea9452bffa0044b6beb3bb539 100644 |
--- a/content/browser/android/composited_touch_handle_drawable.cc |
+++ b/content/browser/android/composited_touch_handle_drawable.cc |
@@ -39,7 +39,7 @@ class HandleResources { |
TRACE_EVENT0("browser", "HandleResources::Create"); |
JNIEnv* env = base::android::AttachCurrentThread(); |
if (!context) |
- context = base::android::GetApplicationContext(); |
+ context = base::android::GetApplicationContext().obj(); |
left_bitmap_ = CreateSkBitmapFromJavaBitmap( |
Java_HandleViewResources_getLeftHandleBitmap(env, context)); |