Changeset 93503 in webkit
- Timestamp:
- Aug 22, 2011 4:53:19 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r93501 r93503 1 2011-08-22 Keishi Hattori <keishi@webkit.org> 2 3 Chrome::setSelectedColorInColorChooser shouldn't be called when color chooser sets a new color 4 https://bugs.webkit.org/show_bug.cgi?id=66658 5 6 Reviewed by Kent Tamura. 7 8 * html/ColorInputType.cpp: 9 (WebCore::ColorInputType::colorSelected): Call setValueFromRenderer instead of setValue. 10 * html/ColorInputType.h: 11 1 12 2011-08-18 Pavel Podivilov <podivilov@chromium.org> 2 13 -
trunk/Source/WebCore/html/ColorInputType.cpp
r92592 r93503 106 106 } 107 107 108 void ColorInputType::setValueAsColor(const Color& color) const109 {110 element()->setValue(color.serialized(), true);111 }112 113 108 void ColorInputType::createShadowSubtree() 114 109 { … … 175 170 if (element()->disabled() || element()->readOnly()) 176 171 return; 177 setValueAsColor(color); 172 element()->setValueFromRenderer(color.serialized()); 173 updateColorSwatch(); 178 174 } 179 175 -
trunk/Source/WebCore/html/ColorInputType.h
r92592 r93503 54 54 virtual String sanitizeValue(const String&); 55 55 virtual Color valueAsColor() const; 56 virtual void setValueAsColor(const Color&) const;57 56 virtual void createShadowSubtree(); 58 57 virtual void valueChanged();
Note: See TracChangeset
for help on using the changeset viewer.