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

Unified Diff: third_party/WebKit/Source/web/tests/sim/SimCompositor.cpp

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/web/tests/sim/SimCompositor.cpp
diff --git a/third_party/WebKit/Source/web/tests/sim/SimCompositor.cpp b/third_party/WebKit/Source/web/tests/sim/SimCompositor.cpp
index a78adb37bf184f10f0347b6e6efbe09084516bad..62a2e357481eebf7f20519d7d90d2ed0146fde2c 100644
--- a/third_party/WebKit/Source/web/tests/sim/SimCompositor.cpp
+++ b/third_party/WebKit/Source/web/tests/sim/SimCompositor.cpp
@@ -21,10 +21,10 @@ namespace blink {
static void paintLayers(GraphicsLayer& layer, SimDisplayItemList& displayList)
{
- if (layer.drawsContent() && layer.hasTrackedPaintInvalidations()) {
+ if (layer.drawsContent() && layer.hasTrackedRasterInvalidations()) {
ContentLayerDelegate* delegate = layer.contentLayerDelegateForTesting();
delegate->paintContents(&displayList);
- layer.resetTrackedPaintInvalidations();
+ layer.resetTrackedRasterInvalidations();
}
if (GraphicsLayer* maskLayer = layer.maskLayer())

Powered by Google App Engine
This is Rietveld 408576698