Chromium Code Reviews| Index: cc/output/program_binding.h |
| diff --git a/cc/output/program_binding.h b/cc/output/program_binding.h |
| index 9c3244ca52841384119bc6353a46d2e8038d5854..51669d5fb4afd1f28e44d7e18b8e62332dc1ac5a 100644 |
| --- a/cc/output/program_binding.h |
| +++ b/cc/output/program_binding.h |
| @@ -59,7 +59,8 @@ class ProgramBinding : public ProgramBindingBase { |
| void Initialize(ContextProvider* context_provider, |
| TexCoordPrecision precision, |
| SamplerType sampler, |
| - BlendMode blend_mode = BLEND_MODE_NONE) { |
| + BlendMode blend_mode = BLEND_MODE_NONE, |
| + bool mask_for_background = false) { |
|
enne (OOO)
2015/03/04 19:58:44
style nit: no default parameters in Chromium.
|
| DCHECK(context_provider); |
| DCHECK(!initialized_); |
| @@ -67,6 +68,7 @@ class ProgramBinding : public ProgramBindingBase { |
| return; |
| fragment_shader_.set_blend_mode(blend_mode); |
| + fragment_shader_.set_mask_for_background(mask_for_background); |
| if (!ProgramBindingBase::Init( |
| context_provider->ContextGL(), |