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

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

Issue 1826853007: LayoutBox::mapContentsRectToVisibleRectInBorderBoxSpace() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pi
Patch Set: Enable comparison, DO NOT CQ Created 4 years, 9 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/LayoutBox.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h
index 9df0837d692dd63be5519b4d0506d08062707466..6adaa7735d1ec04c2cbd1bbf8ea9573605de42dd 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
@@ -841,7 +841,9 @@ public:
virtual bool needsPreferredWidthsRecalculation() const;
IntSize scrolledContentOffset() const;
- void mapScrollingContentsRectToBoxSpace(LayoutRect&) const;
+
+ // See LayoutObject::mapToVisibleRectInAncestorSpace() for the meaning of return value.
+ bool mapContentsRectToVisibleRectInBorderBoxSpace(LayoutRect&, VisibleRectFlags) const;
chrishtr 2016/03/28 20:38:59 This is not a visual rect right? Because it doesn'
Xianzhu 2016/03/28 21:12:08 Right. I'm going to modify mapToVisibleRectInAnces
// Returns true if the rect actually intersects the clipping region.
// If edgeInclusive is true, then this method may return true even

Powered by Google App Engine
This is Rietveld 408576698