Index: ui/android/view_android.cc |
diff --git a/ui/android/view_android.cc b/ui/android/view_android.cc |
index 7dbe2b1c8f329b0cea500a72125048a425890943..e9f5ff879a496126ef6cb74cf05e23226d0df6d8 100644 |
--- a/ui/android/view_android.cc |
+++ b/ui/android/view_android.cc |
@@ -258,6 +258,14 @@ void ViewAndroid::SetLayout(ViewAndroid::LayoutParams params) { |
layout_params_ = params; |
} |
+void ViewAndroid::ClearThumbnailPlaceholder() { |
+ ScopedJavaLocalRef<jobject> delegate(GetViewAndroidDelegate()); |
+ if (delegate.is_null()) |
+ return; |
+ JNIEnv* env = base::android::AttachCurrentThread(); |
+ Java_ViewAndroidDelegate_clearThumbnailPlaceholder(env, delegate); |
+} |
+ |
bool ViewAndroid::StartDragAndDrop(const JavaRef<jstring>& jtext, |
const JavaRef<jobject>& jimage) { |
ScopedJavaLocalRef<jobject> delegate(GetViewAndroidDelegate()); |