Skip to content

Commit

Permalink
Small layer_tree_json_parser fix for Is3dSorted
Browse files Browse the repository at this point in the history
BUG=386585

Review URL: https://codereview.chromium.org/341273004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278931 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
thildebr@chromium.org committed Jun 21, 2014
1 parent 4147385 commit 0d364a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cc/test/layer_tree_json_parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ scoped_refptr<Layer> ParseTreeFromValue(base::Value* val,
bool is_3d_sorted;
if (dict->GetBoolean("Is3DSorted", &is_3d_sorted)) {
// A non-zero context ID will put the layer into a 3D sorting context
new_layer->Set3dSortingContextId(1);
new_layer->Set3dSortingContextId(is_3d_sorted ? 1 : 0);
}

if (dict->HasKey("TouchRegion")) {
Expand Down

0 comments on commit 0d364a9

Please sign in to comment.