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

Issue 597773002: Remove incorrect isAcceleratedCompositingActive check (Closed)

Created:
6 years, 3 months ago by enne (OOO)
Modified:
6 years, 3 months ago
Reviewers:
danakj, Dirk Pranke
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, Ken Russell (switch to Gerrit), danakj
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove incorrect isAcceleratedCompositingActive check isAcceleratedCompositingActive is a racy check asking if the page has had a compositing update with a non-null root layer. This check in WebTestProxy was added as a part of converting layout tests to force compositing mode to make sure that any test asking for a readback was going down the composited path rather than the legacy software path. It should be possible to finish a test and ask for an asynchronous readback prior to having done any compositing updates. This check does not seem legit in the first place, so just remove it. BUG=397321 Committed: https://crrev.com/d82332795c3cf2bb42efe5a8b66e64d062b80ecb Cr-Commit-Position: refs/heads/master@{#296450}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove additional check #

Patch Set 3 : Add TODOs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M content/shell/renderer/test_runner/web_test_proxy.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
enne (OOO)
6 years, 3 months ago (2014-09-24 05:00:41 UTC) #2
loislo
On 2014/09/24 05:00:41, enne_very_slow_to_review wrote: there is another CHECK in DisplayAsyncThen
6 years, 3 months ago (2014-09-24 13:03:12 UTC) #3
danakj
https://codereview.chromium.org/597773002/diff/1/content/shell/renderer/test_runner/web_test_proxy.cc File content/shell/renderer/test_runner/web_test_proxy.cc (right): https://codereview.chromium.org/597773002/diff/1/content/shell/renderer/test_runner/web_test_proxy.cc#newcode492 content/shell/renderer/test_runner/web_test_proxy.cc:492: AnimateNow(); Can you also remove all these AnimateNow()s that ...
6 years, 3 months ago (2014-09-24 14:27:38 UTC) #5
Dirk Pranke
owners lgtm once danakj is happy ...
6 years, 3 months ago (2014-09-24 16:29:00 UTC) #6
enne (OOO)
On 2014/09/24 at 13:03:12, loislo wrote: > On 2014/09/24 05:00:41, enne_very_slow_to_review wrote: > > there ...
6 years, 3 months ago (2014-09-24 16:44:55 UTC) #7
danakj
ok. LGTM but let's keep the bug open to remove AnimateNow(). Can you add TODO ...
6 years, 3 months ago (2014-09-24 16:46:47 UTC) #8
enne (OOO)
On 2014/09/24 at 16:46:47, danakj wrote: > Can you add TODO on them to remove ...
6 years, 3 months ago (2014-09-24 16:48:49 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/597773002/40001
6 years, 3 months ago (2014-09-24 16:50:11 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 0b4b16f00349167b557dce7285a05da66520c1fc
6 years, 3 months ago (2014-09-24 17:33:17 UTC) #12
commit-bot: I haz the power
6 years, 3 months ago (2014-09-24 17:33:51 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d82332795c3cf2bb42efe5a8b66e64d062b80ecb
Cr-Commit-Position: refs/heads/master@{#296450}

Powered by Google App Engine
This is Rietveld 408576698