forked from crosswalk-project/chromium-crosswalk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MERGE to 2661] Fixes bug in making layer tree match view tree
Prior to this patch when adding a view we could call into OnNativeThemeChanged() before ensuring the layer tree and view tree are in sync. This is problematic as its entirely possible for client code to trigger trying to resync the layer tree and view tree, and since we assume the two are already in sync we get crashes. As part of this I'm moving syncing the layer trees out of ViewHierarchyChangedImpl() into the call sites so we can ensure the layer tree and view tree are in sync before calling any client code. BUG=590696 TEST=covered by test [email protected] Review URL: https://codereview.chromium.org/1768533003 Cr-Commit-Position: refs/heads/master@{#379620} (cherry picked from commit 16f0d34) Review URL: https://codereview.chromium.org/1783353007 . Cr-Commit-Position: refs/branch-heads/2661@{crosswalk-project#200} Cr-Branched-From: ef6f6ae-refs/heads/master@{#378081}
- Loading branch information
Scott Violet
committed
Mar 12, 2016
1 parent
c1fd03e
commit 0a74064
Showing
5 changed files
with
165 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters