DescriptionFix color pickers on WebView.
Instead of getting the activity from the WindowAndroid to use as a
context, just get the context from the ContentViewCore. In WebView,
contexts must be wrapped to enable proper class lookup for custom view
classes defined in the WebView APK and using the Activity directly was
circumventing the wrapper, causing color pickers to crash.
BUG=490616
Committed: https://crrev.com/2046d4f5a4bde936c772262f73eb91d62f100b5b
Cr-Commit-Position: refs/heads/master@{#332418}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|