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

Issue 2751973007: Use Layer::INVALID_ID instead of 0 for invalid layers in WebScrollbarLayerImpl (Closed)

Created:
3 years, 9 months ago by pdr.
Modified:
3 years, 9 months ago
Reviewers:
ajuma
CC:
cc-bugs_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use Layer::INVALID_ID instead of 0 for invalid layers in WebScrollbarLayerImpl This patch fixes a bug where 0, a valid layer id, was used in place of an invalid layer id in the constructor of WebScrollbarLayerImpl. This has been split out of https://codereview.chromium.org/2728253002 which was reverted. BUG=693740 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2751973007 Cr-Commit-Position: refs/heads/master@{#457831} Committed: https://chromium.googlesource.com/chromium/src/+/8ffd86e6c9e28bcab01a3f59fb288a7f20df2090

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M cc/blink/web_scrollbar_layer_impl.cc View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
pdr.
I manually confirmed this did not cause https://crbug.com/699504.
3 years, 9 months ago (2017-03-17 02:42:53 UTC) #3
ajuma
lgtm
3 years, 9 months ago (2017-03-17 13:04:33 UTC) #8
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/2751973007/1
3 years, 9 months ago (2017-03-17 18:13:32 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/8ffd86e6c9e28bcab01a3f59fb288a7f20df2090
3 years, 9 months ago (2017-03-17 18:50:54 UTC) #13
nektarios
3 years, 9 months ago (2017-03-17 19:49:44 UTC) #14
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2757973002/ by nektar@chromium.org.

The reason for reverting is: Possibly affecting CC_Unittests on Android.

TextureLayerChangeInvisibleMailboxTest.RunMultiThread_DelegatingRenderer
https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.linux%2FAndroid...

[ RUN      ]
TextureLayerChangeInvisibleMailboxTest.RunMultiThread_DelegatingRenderer
../../cc/layers/texture_layer_unittest.cc:1195: Failure
Value of: 5
Expected: commit_count_
Which is: 4
[  FAILED  ]
TextureLayerChangeInvisibleMailboxTest.RunMultiThread_DelegatingRenderer (25 ms)
[----------] 1 test from TextureLayerChangeInvisibleMailboxTest (25 ms total)

.

Powered by Google App Engine
This is Rietveld 408576698