Title: [158728] trunk/Source/WebCore
- Revision
- 158728
- Author
- [email protected]
- Date
- 2013-11-06 00:02:18 -0800 (Wed, 06 Nov 2013)
Log Message
Address the review comment after r158724.
* html/RangeInputType.cpp:
(WebCore::RangeInputType::handleMouseDownEvent):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (158727 => 158728)
--- trunk/Source/WebCore/ChangeLog 2013-11-06 07:31:52 UTC (rev 158727)
+++ trunk/Source/WebCore/ChangeLog 2013-11-06 08:02:18 UTC (rev 158728)
@@ -1,3 +1,10 @@
+2013-11-05 Ryosuke Niwa <[email protected]>
+
+ Address the review comment after r158724.
+
+ * html/RangeInputType.cpp:
+ (WebCore::RangeInputType::handleMouseDownEvent):
+
2013-11-05 Zalan Bujtas <[email protected]>
Widget's position change should not initiate layout, only when its size changes.
Modified: trunk/Source/WebCore/html/RangeInputType.cpp (158727 => 158728)
--- trunk/Source/WebCore/html/RangeInputType.cpp 2013-11-06 07:31:52 UTC (rev 158727)
+++ trunk/Source/WebCore/html/RangeInputType.cpp 2013-11-06 08:02:18 UTC (rev 158728)
@@ -149,8 +149,8 @@
ASSERT(element().shadowRoot());
if (targetNode != &element() && !targetNode->isDescendantOf(element().userAgentShadowRoot()))
return;
- RefPtr<SliderThumbElement> thumb = &typedSliderThumbElement();
- if (targetNode == thumb)
+ Ref<SliderThumbElement> thumb(typedSliderThumbElement());
+ if (targetNode == &thumb.get())
return;
thumb->dragFrom(event->absoluteLocation());
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes