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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h

Issue 2894093002: Don't access DisplayItemClient::VisualRect() for cached display items. (Closed)
Patch Set: - Created 3 years, 7 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/paint/ScrollDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h
index 6dfca71e92fb2ea2b049517cf789a6e9f63c4468..d09bead242d7fcb2ebf6170f963ee604a3849359 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h
@@ -23,7 +23,7 @@ class PLATFORM_EXPORT BeginScrollDisplayItem final
}
void Replay(GraphicsContext&) const override;
- void AppendToWebDisplayItemList(const IntRect&,
+ void AppendToWebDisplayItemList(const LayoutSize&,
WebDisplayItemList*) const override;
const IntSize& CurrentOffset() const { return current_offset_; }
@@ -49,7 +49,7 @@ class PLATFORM_EXPORT EndScrollDisplayItem final : public PairedEndDisplayItem {
}
void Replay(GraphicsContext&) const override;
- void AppendToWebDisplayItemList(const IntRect&,
+ void AppendToWebDisplayItemList(const LayoutSize&,
WebDisplayItemList*) const override;
private:

Powered by Google App Engine
This is Rietveld 408576698