Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h |
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h |
| index be857e6cee834c92ca4efcccbee1a8d48bc873cd..3f99f4df2eaa35eca5f1f76bdb1ee5c182ac7da3 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h |
| +++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h |
| @@ -316,6 +316,7 @@ public: |
| bool hasValidClient() const { return m_client; } |
| virtual bool drawsContent() const { return false; } |
| + virtual bool isBeginCompositingDisplayItem() const { return false; } |
|
Xianzhu
2016/07/27 17:22:29
You can avoid this virtual function by using "disp
|
| // Override to implement specific analysis strategies. |
| virtual void analyzeForGpuRasterization(SkPictureGpuAnalyzer&) const { } |