Chromium Code Reviews| Index: src/record/SkRecorder.cpp |
| diff --git a/src/record/SkRecorder.cpp b/src/record/SkRecorder.cpp |
| index fabb4be861742544aed5abcbffcd6b8a4eb193f9..1071e7f4ff7cedea58a9193789920db663e8637e 100644 |
| --- a/src/record/SkRecorder.cpp |
| +++ b/src/record/SkRecorder.cpp |
| @@ -196,7 +196,8 @@ void SkRecorder::willRestore() { |
| } |
| void SkRecorder::onPushCull(const SkRect& rect) { |
| - APPEND(PushCull, rect); |
| + static const unsigned kImpossiblePopOffset = 0; |
| + APPEND(PushCull, rect, kImpossiblePopOffset); |
|
f(malita)
2014/04/08 23:08:31
If using a constant here, maybe we should promote
mtklein
2014/04/08 23:11:56
Done.
|
| } |
| void SkRecorder::onPopCull() { |