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

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, 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/testing/FakeGraphicsLayerClient.h
diff --git a/third_party/WebKit/Source/platform/testing/FakeGraphicsLayerClient.h b/third_party/WebKit/Source/platform/testing/FakeGraphicsLayerClient.h
index 14325d9ed0ddfe7db88991fee70a505e8e57faf2..a8fb591070eb0cdc7f0d5ca4d60b099a0d39a2bb 100644
--- a/third_party/WebKit/Source/platform/testing/FakeGraphicsLayerClient.h
+++ b/third_party/WebKit/Source/platform/testing/FakeGraphicsLayerClient.h
@@ -18,8 +18,8 @@ class FakeGraphicsLayerClient : public GraphicsLayerClient {
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*,
@@ -27,12 +27,12 @@ class FakeGraphicsLayerClient : public GraphicsLayerClient {
GraphicsLayerPaintingPhase,
const IntRect&) const override {}
- void setIsTrackingPaintInvalidations(bool isTrackingPaintInvalidations) {
- m_isTrackingPaintInvalidations = isTrackingPaintInvalidations;
+ void setIsTrackingRasterInvalidations(bool isTrackingRasterInvalidations) {
+ m_isTrackingRasterInvalidations = isTrackingRasterInvalidations;
}
private:
- bool m_isTrackingPaintInvalidations = false;
+ bool m_isTrackingRasterInvalidations = false;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollableAreaTest.cpp ('k') | third_party/WebKit/Source/web/LinkHighlightImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698