Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Issue 2664253003: Fix redundant code warning reported by VC++ /analyze (Closed)

Created:
3 years, 10 months ago by brucedawson
Modified:
3 years, 10 months ago
Reviewers:
chrishtr
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, pdr., rwlbuis, Stephen Chennney, wkorman
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix redundant code warning reported by VC++ /analyze The experimental /analyze builder pointed out that this code: else if (!m_userScrollableHorizontal && !m_userScrollableHorizontal) is incorrect. It said: webkit\source\platform\graphics\paint\scrollpaintpropertynode.cpp(30) : warning C6287: Redundant code: the left and right sub-expressions are identical. And indeed, it looks like the check should have been: if (!m_userScrollableHorizontal && !m_userScrollableVertical) BUG=427616 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2664253003 Cr-Commit-Position: refs/heads/master@{#447384} Committed: https://chromium.googlesource.com/chromium/src/+/513262b8cc025c21e6b767e2e0ab3f55613b174d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (9 generated)
chrishtr
lgtm
3 years, 10 months ago (2017-01-31 21:08:02 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2664253003/1
3 years, 10 months ago (2017-01-31 22:16:15 UTC) #9
commit-bot: I haz the power
3 years, 10 months ago (2017-02-01 00:42:56 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/513262b8cc025c21e6b767e2e0ab...

Powered by Google App Engine
This is Rietveld 408576698