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

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, 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/GraphicsLayer.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
index affc212a6d1d6a03e4800a6d90e95ce14b5189dd..8739df7ad45b0bbc2f549a96bcd5b4ef83bae276 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
@@ -203,15 +203,15 @@ public:
std::unique_ptr<JSONObject> layerTreeAsJSON(LayerTreeFlags) const;
- void setTracksPaintInvalidations(bool);
- bool isTrackingOrCheckingPaintInvalidations() const
+ void setTracksRasterInvalidations(bool);
+ bool isTrackingOrCheckingRasterInvalidations() const
{
- return RuntimeEnabledFeatures::paintUnderInvalidationCheckingEnabled() || m_isTrackingPaintInvalidations;
+ return RuntimeEnabledFeatures::paintUnderInvalidationCheckingEnabled() || 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*);
@@ -324,7 +324,7 @@ private:
bool m_painted : 1;
- bool m_isTrackingPaintInvalidations : 1;
+ bool m_isTrackingRasterInvalidations : 1;
GraphicsLayerPaintingPhase m_paintingPhase;

Powered by Google App Engine
This is Rietveld 408576698