Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(981)

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h

Issue 2307623002: [SPv2] Defer decision of raster invalidation after paint for changes z-index, transform, etc. (Closed)
Patch Set: All paint property Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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; }

Powered by Google App Engine
This is Rietveld 408576698