Title: [123927] trunk/Source/WebCore
- Revision
- 123927
- Author
- [email protected]
- Date
- 2012-07-27 15:37:44 -0700 (Fri, 27 Jul 2012)
Log Message
DragController should ascertain dragClient to be non-null
https://bugs.webkit.org/show_bug.cgi?id=92474
Patch by Vivek Galatage <[email protected]> on 2012-07-27
Reviewed by Tony Chang.
The DragController must always ensure a valid dragClient object. Hence
adding the ASSERT to assure that.
No new tests. Added assertion for PageClient.dragClient.
* page/DragController.cpp:
(WebCore::DragController::DragController):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (123926 => 123927)
--- trunk/Source/WebCore/ChangeLog 2012-07-27 22:30:50 UTC (rev 123926)
+++ trunk/Source/WebCore/ChangeLog 2012-07-27 22:37:44 UTC (rev 123927)
@@ -1,3 +1,18 @@
+2012-07-27 Vivek Galatage <[email protected]>
+
+ DragController should ascertain dragClient to be non-null
+ https://bugs.webkit.org/show_bug.cgi?id=92474
+
+ Reviewed by Tony Chang.
+
+ The DragController must always ensure a valid dragClient object. Hence
+ adding the ASSERT to assure that.
+
+ No new tests. Added assertion for PageClient.dragClient.
+
+ * page/DragController.cpp:
+ (WebCore::DragController::DragController):
+
2012-07-27 Adrienne Walker <[email protected]>
[chromium] Clean up LayerRendererChromium::drawTexturedQuad
Modified: trunk/Source/WebCore/page/DragController.cpp (123926 => 123927)
--- trunk/Source/WebCore/page/DragController.cpp 2012-07-27 22:30:50 UTC (rev 123926)
+++ trunk/Source/WebCore/page/DragController.cpp 2012-07-27 22:37:44 UTC (rev 123927)
@@ -101,6 +101,7 @@
, m_isHandlingDrag(false)
, m_sourceDragOperation(DragOperationNone)
{
+ ASSERT(m_client);
}
DragController::~DragController()
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes