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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutInline.h

Issue 2051703002: Implement closed shadow adjustment for Element.offsetParent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test Created 4 years, 6 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/layout/LayoutInline.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutInline.h b/third_party/WebKit/Source/core/layout/LayoutInline.h
index 3699d87befbd875d684a6c0037078b0c510db26a..d4ff8b1c29dba73db591d6b5c20cd2671c6cf3a5 100644
--- a/third_party/WebKit/Source/core/layout/LayoutInline.h
+++ b/third_party/WebKit/Source/core/layout/LayoutInline.h
@@ -230,8 +230,8 @@ private:
PaintLayerType layerTypeRequired() const override;
- LayoutUnit offsetLeft() const final;
- LayoutUnit offsetTop() const final;
+ LayoutUnit offsetLeft(const Element*) const final;
+ LayoutUnit offsetTop(const Element*) const final;
LayoutUnit offsetWidth() const final { return linesBoundingBox().width(); }
LayoutUnit offsetHeight() const final { return linesBoundingBox().height(); }

Powered by Google App Engine
This is Rietveld 408576698