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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h

Issue 2380683006: SPv2: Add support for tracking raster paint invalidations in testing. (Closed)
Patch Set: none Created 4 years, 2 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/GraphicsLayer.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
index 18d29abb0151996b58c79f82c6887e19b6cea6fb..f9ad7baa748fbcd6d973d71e78714c3509d2f1e6 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
@@ -218,17 +218,17 @@ class PLATFORM_EXPORT GraphicsLayer : public WebLayerScrollClient,
std::unique_ptr<JSONObject> layerTreeAsJSON(LayerTreeFlags) const;
- void setTracksPaintInvalidations(bool);
- bool isTrackingOrCheckingPaintInvalidations() const {
+ void setTracksRasterInvalidations(bool);
+ bool isTrackingOrCheckingRasterInvalidations() const {
return RuntimeEnabledFeatures::paintUnderInvalidationCheckingEnabled() ||
- m_isTrackingPaintInvalidations;
+ m_isTrackingRasterInvalidations;
}
- void resetTrackedPaintInvalidations();
- bool hasTrackedPaintInvalidations() const;
- void trackPaintInvalidation(const DisplayItemClient&,
- const IntRect&,
- PaintInvalidationReason);
+ void resetTrackedRasterInvalidations();
+ bool hasTrackedRasterInvalidations() const;
+ void trackRasterInvalidation(const DisplayItemClient&,
+ const IntRect&,
+ PaintInvalidationReason);
void addLinkHighlight(LinkHighlight*);
void removeLinkHighlight(LinkHighlight*);
@@ -349,7 +349,7 @@ class PLATFORM_EXPORT GraphicsLayer : public WebLayerScrollClient,
bool m_painted : 1;
- bool m_isTrackingPaintInvalidations : 1;
+ bool m_isTrackingRasterInvalidations : 1;
GraphicsLayerPaintingPhase m_paintingPhase;
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698