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

Unified Diff: third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h

Issue 1497873002: Make DisplayItemClient an interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years 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/core/paint/LayoutObjectDrawingRecorder.h
diff --git a/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h b/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h
index cadb9b84bac348aaf92457ae6394d0e85080eb8c..c9e0e9d17012cbd3c288b49e2acb172d2999755b 100644
--- a/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h
+++ b/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h
@@ -70,7 +70,7 @@ private:
if (layoutObject.paintOffsetChanged(paintOffset))
paintController.invalidatePaintOffset(layoutObject);
else
- ASSERT(!paintController.paintOffsetWasInvalidated(layoutObject.displayItemClient()) || !paintController.clientCacheIsValid(layoutObject.displayItemClient()));
+ ASSERT(!paintController.paintOffsetWasInvalidated(layoutObject) || !paintController.clientCacheIsValid(layoutObject));
layoutObject.mutableForPainting().setPreviousPaintOffset(paintOffset);
}

Powered by Google App Engine
This is Rietveld 408576698