Changeset 93631 in webkit


Ignore:
Timestamp:
Aug 23, 2011 1:10:46 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

Fixed warnings produced by gcc-4.6.0.
https://bugs.webkit.org/show_bug.cgi?id=62168

Patch by Ahmad Sharif <asharif@chromium.org> on 2011-08-23
Reviewed by Adam Barth.

  • dom/Element.cpp:

(WebCore::Element::recalcStyle):

  • platform/ScrollAnimatorNone.cpp:

(WebCore::ScrollAnimatorNone::PerAxisData::curveAt):
(WebCore::ScrollAnimatorNone::PerAxisData::curveDerivativeAt):

  • thirdparty: Copied from Source/WebCore/thirdparty.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r93628 r93631  
     12011-08-23  Ahmad Sharif  <asharif@chromium.org>
     2
     3        Fixed warnings produced by gcc-4.6.0.
     4        https://bugs.webkit.org/show_bug.cgi?id=62168
     5
     6        Reviewed by Adam Barth.
     7
     8        * dom/Element.cpp:
     9        (WebCore::Element::recalcStyle):
     10        * platform/ScrollAnimatorNone.cpp:
     11        (WebCore::ScrollAnimatorNone::PerAxisData::curveAt):
     12        (WebCore::ScrollAnimatorNone::PerAxisData::curveDerivativeAt):
     13        * thirdparty: Copied from Source/WebCore/thirdparty.
     14
    1152011-08-23  Alexandru Chiculita  <achicu@adobe.com>
    216
  • trunk/Source/WebCore/dom/Element.cpp

    r93481 r93631  
    10981098    // Ref currentStyle in case it would otherwise be deleted when setRenderStyle() is called.
    10991099    RefPtr<RenderStyle> currentStyle(renderStyle());
    1100     bool hasParentStyle = parentNodeForRenderingAndStyle() ? parentNodeForRenderingAndStyle()->renderStyle() : false;
     1100    bool hasParentStyle = parentNodeForRenderingAndStyle() ? static_cast<bool>(parentNodeForRenderingAndStyle()->renderStyle()) : false;
    11011101    bool hasDirectAdjacentRules = currentStyle && currentStyle->childrenAffectedByDirectAdjacentRules();
    11021102    bool hasIndirectAdjacentRules = currentStyle && currentStyle->childrenAffectedByForwardPositionalRules();
Note: See TracChangeset for help on using the changeset viewer.