Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h |
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h b/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h |
| index 314e8903d78703a4b097309bf239bb2ef16019a5..38b75afdd6cd53f715b339b712dd5e0b36b91090 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h |
| +++ b/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h |
| @@ -49,7 +49,7 @@ public: |
| Vector<PaintChunk>& paintChunks() { return m_paintChunks; } |
| const Vector<PaintChunk>& paintChunks() const { return m_paintChunks; } |
| - Vector<PaintChunk>::const_iterator findChunkByDisplayItemIndex(size_t) const; |
| + Vector<PaintChunk>::const_iterator findChunkByDisplayItemIndex(size_t index) const { return findChunkInVectorByDisplayItemIndex(m_paintChunks, index); } |
|
chrishtr
2016/09/06 22:14:12
Why does this call site not need:
DCHECK(chunk !
Xianzhu
2016/09/06 22:42:38
It's not obvious from the function return type tha
|
| bool isSuitableForGpuRasterization() const { return m_isSuitableForGpuRasterization; } |