| 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 2d3a4c461aa67c9491fa4a4a7ad6cbdf5acb8b88..d10d54086b82d0e15ae38bdf25227be5c9d936cc 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h
|
| @@ -36,9 +36,7 @@ class PLATFORM_EXPORT PaintArtifact final {
|
|
|
| public:
|
| PaintArtifact();
|
| - PaintArtifact(DisplayItemList,
|
| - Vector<PaintChunk>,
|
| - bool is_suitable_for_gpu_rasterization);
|
| + PaintArtifact(DisplayItemList, Vector<PaintChunk>, int num_slow_paths);
|
| PaintArtifact(PaintArtifact&&);
|
| ~PaintArtifact();
|
|
|
| @@ -59,9 +57,7 @@ class PLATFORM_EXPORT PaintArtifact final {
|
| return FindChunkInVectorByDisplayItemIndex(paint_chunks_, index);
|
| }
|
|
|
| - bool IsSuitableForGpuRasterization() const {
|
| - return is_suitable_for_gpu_rasterization_;
|
| - }
|
| + int NumSlowPaths() const { return num_slow_paths_; }
|
|
|
| // Resets to an empty paint artifact.
|
| void Reset();
|
| @@ -89,7 +85,7 @@ class PLATFORM_EXPORT PaintArtifact final {
|
| private:
|
| DisplayItemList display_item_list_;
|
| Vector<PaintChunk> paint_chunks_;
|
| - bool is_suitable_for_gpu_rasterization_;
|
| + int num_slow_paths_ = 0;
|
| };
|
|
|
| } // namespace blink
|
|
|