Changeset 81128 in webkit


Ignore:
Timestamp:
Mar 15, 2011 3:47:29 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-03-15 Chris Mumford <chris.mumford@palm.com>

Reviewed by Adam Barth.

Initializing several member variables that were not initialized in
their constructors. These values were all read prior to initialization
as reported by Valgrind.

No new tests: No feature additions/removals.

  • accessibility/AccessibilityImageMapLink.cpp: (WebCore::AccessibilityImageMapLink::AccessibilityImageMapLink):
  • editing/DeleteSelectionCommand.cpp: (WebCore::DeleteSelectionCommand::DeleteSelectionCommand):
  • html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::HTMLCanvasElement):
  • xml/XPathResult.cpp: (WebCore::XPathResult::XPathResult):
Location:
trunk/Source/WebCore
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r81126 r81128  
     12011-03-15  Chris Mumford  <chris.mumford@palm.com>
     2
     3        Reviewed by Adam Barth.
     4
     5        Initializing several member variables that were not initialized in
     6        their constructors. These values were all read prior to initialization
     7        as reported by Valgrind.
     8
     9        No new tests: No feature additions/removals.
     10
     11        * accessibility/AccessibilityImageMapLink.cpp:
     12        (WebCore::AccessibilityImageMapLink::AccessibilityImageMapLink):
     13        * editing/DeleteSelectionCommand.cpp:
     14        (WebCore::DeleteSelectionCommand::DeleteSelectionCommand):
     15        * html/HTMLCanvasElement.cpp:
     16        (WebCore::HTMLCanvasElement::HTMLCanvasElement):
     17        * xml/XPathResult.cpp:
     18        (WebCore::XPathResult::XPathResult):
     19
    1202011-03-15  Ben Taylor  <bentaylor.solx86@gmail.com>
    221
  • trunk/Source/WebCore/accessibility/AccessibilityImageMapLink.cpp

    r78261 r81128  
    4343    : m_areaElement(0)
    4444    , m_mapElement(0)
     45    , m_parent(0)
    4546{
    4647}
  • trunk/Source/WebCore/editing/DeleteSelectionCommand.cpp

    r81056 r81128  
    7373      m_smartDelete(smartDelete),
    7474      m_mergeBlocksAfterDelete(mergeBlocksAfterDelete),
     75      m_needPlaceholder(false),
    7576      m_replace(replace),
    7677      m_expandForSpecialElements(expandForSpecialElements),
     
    8990      m_smartDelete(smartDelete),
    9091      m_mergeBlocksAfterDelete(mergeBlocksAfterDelete),
     92      m_needPlaceholder(false),
    9193      m_replace(replace),
    9294      m_expandForSpecialElements(expandForSpecialElements),
  • trunk/Source/WebCore/html/HTMLCanvasElement.cpp

    r80756 r81128  
    7777    : HTMLElement(tagName, document)
    7878    , m_size(DefaultWidth, DefaultHeight)
     79    , m_rendererIsCanvas(false)
    7980    , m_ignoreReset(false)
    8081    , m_pageScaleFactor(document->frame() ? document->frame()->page()->chrome()->scaleFactor() : 1)
  • trunk/Source/WebCore/xml/XPathResult.cpp

    r44317 r81128  
    4242XPathResult::XPathResult(Document* document, const Value& value)
    4343    : m_value(value)
     44    , m_nodeSetPosition(0)
     45    , m_domTreeVersion(0)
    4446{
    4547    switch (m_value.type()) {
Note: See TracChangeset for help on using the changeset viewer.