Title: [148206] trunk/Source/WebCore
- Revision
- 148206
- Author
- [email protected]
- Date
- 2013-04-11 09:02:20 -0700 (Thu, 11 Apr 2013)
Log Message
Build fix: use of uninitialized variable in ScrollingStateTree
https://bugs.webkit.org/show_bug.cgi?id=114443
Patch by Adenilson Cavalcanti <[email protected]> on 2013-04-11
Reviewed by Anders Carlsson.
Initialize pointer to zero before use, fixes build.
No new tests, no changes on behavior.
* page/scrolling/ScrollingStateTree.cpp:
(WebCore::ScrollingStateTree::attachNode):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (148205 => 148206)
--- trunk/Source/WebCore/ChangeLog 2013-04-11 15:55:25 UTC (rev 148205)
+++ trunk/Source/WebCore/ChangeLog 2013-04-11 16:02:20 UTC (rev 148206)
@@ -1,3 +1,16 @@
+2013-04-11 Adenilson Cavalcanti <[email protected]>
+
+ Build fix: use of uninitialized variable in ScrollingStateTree
+ https://bugs.webkit.org/show_bug.cgi?id=114443
+
+ Reviewed by Anders Carlsson.
+
+ Initialize pointer to zero before use, fixes build.
+ No new tests, no changes on behavior.
+
+ * page/scrolling/ScrollingStateTree.cpp:
+ (WebCore::ScrollingStateTree::attachNode):
+
2013-04-11 Dirk Schulze <[email protected]>
[CSS Shaders] Parse mix descriptor
Modified: trunk/Source/WebCore/page/scrolling/ScrollingStateTree.cpp (148205 => 148206)
--- trunk/Source/WebCore/page/scrolling/ScrollingStateTree.cpp 2013-04-11 15:55:25 UTC (rev 148205)
+++ trunk/Source/WebCore/page/scrolling/ScrollingStateTree.cpp 2013-04-11 16:02:20 UTC (rev 148206)
@@ -62,7 +62,7 @@
removeNode(node);
}
- ScrollingStateNode* newNode;
+ ScrollingStateNode* newNode = 0;
if (!parentID) {
// If we're resetting the root node, we should clear the HashMap and destroy the current children.
clear();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes