[Webkit-unassigned] [Bug 141529] input type="color" duplicated colour well
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 12 13:03:31 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=141529
Alex Christensen <achristensen at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |achristensen at apple.com
--- Comment #1 from Alex Christensen <achristensen at apple.com> ---
Here's a speculative fix. Try it and see if it fixes it.
Index: WebKit2/UIProcess/WebPageProxy.cpp
===================================================================
--- WebKit2/UIProcess/WebPageProxy.cpp (revision 179993)
+++ WebKit2/UIProcess/WebPageProxy.cpp (working copy)
@@ -3622,7 +3622,10 @@
#if ENABLE(INPUT_TYPE_COLOR_POPOVER)
// A new popover color well needs to be created (and the previous one destroyed) for
// each activation of a color element.
- m_colorPicker = 0;
+ if (m_colorPicker) {
+ m_colorPicker->invalidate();
+ m_colorPicker = nullptr;
+ }
#endif
if (!m_colorPicker)
m_colorPicker = m_pageClient.createColorPicker(this, initialColor, elementRect);
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150212/28d95090/attachment-0002.html>
More information about the webkit-unassigned
mailing list