Skip to content
  • zhajiang@rim.com's avatar
    Fix some compiler warnings (miscellaneous) · bdd41763
    zhajiang@rim.com authored
    https://bugs.webkit.org/show_bug.cgi?id=80790
    
    Patch by Jacky Jiang <zhajiang@blackberry.com> on 2013-05-10.
    Reviewed by Rob Buis.
    
    Source/WebKit/blackberry:
    
    Fix the following warnings for BlackBerry:
    BackingStore.cpp:852:60: warning: suggest parentheses around '&&' within
    '||' [-Wparentheses].
    WebPage.cpp:2858:40: warning: suggest parentheses around assignment used
    as truth value [-Wparentheses].
    WebPage.cpp:2880:42: warning: suggest parentheses around assignment used
    as truth value [-Wparentheses]
    
    * Api/BackingStore.cpp:
    (BlackBerry::WebKit::BackingStorePrivate::updateTilesAfterBackingStoreRectChange):
    * Api/WebPage.cpp:
    (BlackBerry::WebKit::WebPagePrivate::adjustRectOffsetForFrameOffset):
    (BlackBerry::WebKit::WebPagePrivate::blockZoomRectForNode):
    
    Tools:
    
    Fix the following warnings for BlackBerry:
    DumpRenderTree.cpp:357:42: warning: suggest parentheses around assignment
    used as truth value [-Wparentheses].
    
    * DumpRenderTree/blackberry/DumpRenderTree.cpp:
    (BlackBerry::WebKit::DumpRenderTree::resetToConsistentStateBeforeTesting):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    bdd41763