Commit b634c490 authored by Stephen Chenney's avatar Stephen Chenney Committed by Commit Bot

Update 3dSortingContextId on content_layer_ when context changes

A previous re-factoring (https://crrev.com/e337262e101e86c301d78ffa4337311f7d2d9110)
accidentally changed a call on content_layer_ to a call on CcLayer(). Fix it.

R=chrishtr@chromium.org
BUG=935002

Change-Id: Ia035921e28d9ad1c0a5518fb97110d20c1434b5f
Reviewed-on: https://chromium-review.googlesource.com/c/1485123
Commit-Queue: Stephen Chenney <schenney@chromium.org>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Auto-Submit: Stephen Chenney <schenney@chromium.org>
Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#634977}
parent a71c7f43
......@@ -705,7 +705,7 @@ void GraphicsLayer::SetRenderingContext(int context) {
CcLayer()->Set3dSortingContextId(context);
if (contents_layer_)
CcLayer()->Set3dSortingContextId(rendering_context3d_);
contents_layer_->Set3dSortingContextId(rendering_context3d_);
}
bool GraphicsLayer::MasksToBounds() const {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment