| Index: cc/layers/layer_impl.cc
|
| diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
|
| index a6738cc5d956ef2082da23c2bea30a0b450ed1cc..1f10f05a9b3cb0035d7856466c4e5a6e10f1da14 100644
|
| --- a/cc/layers/layer_impl.cc
|
| +++ b/cc/layers/layer_impl.cc
|
| @@ -253,6 +253,20 @@ void LayerImpl::PopulateSharedQuadState(SharedQuadState* state) const {
|
| blend_mode_);
|
| }
|
|
|
| +void LayerImpl::PopulateSharedQuadStateWithOverrides(
|
| + SharedQuadState* state,
|
| + gfx::Transform target_space_transform,
|
| + gfx::Size content_bounds,
|
| + gfx::Rect visible_content_rect) const {
|
| + state->SetAll(target_space_transform,
|
| + content_bounds,
|
| + visible_content_rect,
|
| + draw_properties_.clip_rect,
|
| + draw_properties_.is_clipped,
|
| + draw_properties_.opacity,
|
| + blend_mode_);
|
| +}
|
| +
|
| bool LayerImpl::WillDraw(DrawMode draw_mode,
|
| ResourceProvider* resource_provider) {
|
| // WillDraw/DidDraw must be matched.
|
|
|