Index: components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java |
diff --git a/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java b/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java |
index c276916f65e18c761b81b7f724f72118fbf35447..1bac698060070b44e18eba95deac268491cf3da0 100644 |
--- a/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java |
+++ b/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java |
@@ -8,7 +8,7 @@ import android.content.Context; |
import org.chromium.base.CalledByNative; |
import org.chromium.base.JNINamespace; |
-import org.chromium.content.browser.ContentViewCore; |
+import org.chromium.content_public.browser.WebContents; |
import org.chromium.ui.ColorPickerDialog; |
import org.chromium.ui.ColorSuggestion; |
import org.chromium.ui.OnColorChangedListener; |
@@ -48,11 +48,11 @@ public class ColorChooserAndroid { |
@CalledByNative |
public static ColorChooserAndroid createColorChooserAndroid( |
long nativeColorChooserAndroid, |
- ContentViewCore contentViewCore, |
+ WebContents webContents, |
int initialColor, |
ColorSuggestion[] suggestions) { |
ColorChooserAndroid chooser = new ColorChooserAndroid(nativeColorChooserAndroid, |
- contentViewCore.getContext(), initialColor, suggestions); |
+ webContents.getContext(), initialColor, suggestions); |
Yaron
2014/10/15 20:32:38
From a preliminary look, it appears that Applicati
AKVT
2014/10/29 18:13:28
Done. Thank you
|
chooser.openColorChooser(); |
return chooser; |
} |