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

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

Issue 2803013005: Deduplicating compositing scrollingCoordinator helper (Closed)
Patch Set: Rebased post blink rename Created 3 years, 8 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/core/paint/PaintLayer.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h
index 3c9991421b30bf38c06f3e770bc203bebae249b6..f2f91213ce35fcfe4a96425d944161ccd250eb86 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
@@ -572,6 +572,10 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
GetCompositingState() != kPaintsIntoOwnBacking);
}
+ // Returns the ScrollingCoordinator associated with this layer, if
+ // any. Otherwise nullptr.
+ ScrollingCoordinator* GetScrollingCoordinator();
+
// Returns true if the element or any ancestor is transformed.
bool CompositesWithTransform() const;

Powered by Google App Engine
This is Rietveld 408576698