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

Issue 1801243003: Fix compositor view caching logic (Closed)

Created:
4 years, 9 months ago by mdjones
Modified:
4 years, 9 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix compositor view caching logic Previously, each time a SceneLayer was set in the compositor view the root was checked against the cached root. If the check failed, the layer would be removed from its parent and the current layer would be stored. In the case of scene overlays, the root element can change quite frequently. In this case, the content of the tree does not necessarily change, but the root does. This root change would cause the cached layer to be removed from the new tree before it was rendered. This change checks that the cached root has the new root as an ancestor before attempting to detach it. BUG=584340 Committed: https://crrev.com/734c7ef31f9919be22ba14a258d7ca1c33659d42 Cr-Commit-Position: refs/heads/master@{#381729}

Patch Set 1 #

Patch Set 2 : reword comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M chrome/browser/android/compositor/compositor_view.cc View 1 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
mdjones
PTAL
4 years, 9 months ago (2016-03-15 21:40:41 UTC) #2
David Trainor- moved to gerrit
lgtm
4 years, 9 months ago (2016-03-16 18:36:09 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1801243003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1801243003/20001
4 years, 9 months ago (2016-03-17 15:42:09 UTC) #5
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-17 16:27:06 UTC) #6
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 16:28:18 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/734c7ef31f9919be22ba14a258d7ca1c33659d42
Cr-Commit-Position: refs/heads/master@{#381729}

Powered by Google App Engine
This is Rietveld 408576698