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

Unified Diff: third_party/WebKit/Source/platform/testing/FakeGraphicsLayerClient.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/testing/FakeGraphicsLayerClient.h
diff --git a/third_party/WebKit/Source/platform/testing/FakeGraphicsLayerClient.h b/third_party/WebKit/Source/platform/testing/FakeGraphicsLayerClient.h
index e725fa61ac31fabdce418bcf32117295085b4bea..649bcc4b2a2bee18a32ea7ecf427e53d30efc786 100644
--- a/third_party/WebKit/Source/platform/testing/FakeGraphicsLayerClient.h
+++ b/third_party/WebKit/Source/platform/testing/FakeGraphicsLayerClient.h
@@ -15,17 +15,17 @@ public:
// GraphicsLayerClient implementation.
IntRect computeInterestRect(const GraphicsLayer*, const IntRect&) const override { return IntRect(); }
String debugName(const GraphicsLayer*) const override { return String(); }
- bool isTrackingPaintInvalidations() const override { return m_isTrackingPaintInvalidations; }
+ bool isTrackingRasterInvalidations() const override { return m_isTrackingRasterInvalidations; }
bool needsRepaint(const GraphicsLayer&) const override { return true; }
void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPaintingPhase, const IntRect&) const override { }
- void setIsTrackingPaintInvalidations(bool isTrackingPaintInvalidations)
+ void setIsTrackingRasterInvalidations(bool isTrackingRasterInvalidations)
{
- m_isTrackingPaintInvalidations = isTrackingPaintInvalidations;
+ m_isTrackingRasterInvalidations = isTrackingRasterInvalidations;
}
private:
- bool m_isTrackingPaintInvalidations = false;
+ bool m_isTrackingRasterInvalidations = false;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698