| Index: core/cross/renderer.cc
|
| ===================================================================
|
| --- core/cross/renderer.cc (revision 57528)
|
| +++ core/cross/renderer.cc (working copy)
|
| @@ -729,6 +729,7 @@
|
|
|
| // Pushes rendering states.
|
| void Renderer::PushRenderStates(State *state) {
|
| +#if !defined(RENDERER_CAIRO)
|
| DCHECK(!state_stack_.empty());
|
| if (state && (state_stack_.back() != state)) {
|
| const NamedParamRefMap& param_map = state->params();
|
| @@ -750,6 +751,7 @@
|
| state = state_stack_.back();
|
| }
|
| state_stack_.push_back(state);
|
| +#endif
|
| }
|
|
|
| // Pops rendering states to back to their previous settings.
|
|
|