| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 4 * | 3 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 7 */ | 6 */ |
| 8 #include "SkNWayCanvas.h" | 7 #include "SkNWayCanvas.h" |
| 9 | 8 |
| 10 SkNWayCanvas::SkNWayCanvas(int width, int height) | 9 SkNWayCanvas::SkNWayCanvas(int width, int height) |
| 11 : INHERITED(width, height) {} | 10 : INHERITED(width, height) {} |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 | 300 |
| 302 #ifdef SK_SUPPORT_LEGACY_DRAWFILTER | 301 #ifdef SK_SUPPORT_LEGACY_DRAWFILTER |
| 303 SkDrawFilter* SkNWayCanvas::setDrawFilter(SkDrawFilter* filter) { | 302 SkDrawFilter* SkNWayCanvas::setDrawFilter(SkDrawFilter* filter) { |
| 304 Iter iter(fList); | 303 Iter iter(fList); |
| 305 while (iter.next()) { | 304 while (iter.next()) { |
| 306 iter->setDrawFilter(filter); | 305 iter->setDrawFilter(filter); |
| 307 } | 306 } |
| 308 return this->INHERITED::setDrawFilter(filter); | 307 return this->INHERITED::setDrawFilter(filter); |
| 309 } | 308 } |
| 310 #endif | 309 #endif |
| OLD | NEW |