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

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

Issue 1907443003: Translate flow thread coords to the nearest enclosing coord space when appropriate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a unit test too. Created 4 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/layout/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index 69bd9737d3e2b5fd2c46642cac48506225f2dc2f..f62bfd04ce32eff3afad0fd941e8da90fe2032d6 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -1161,7 +1161,7 @@ public:
virtual bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, LayoutRect&, VisualRectFlags = DefaultVisualRectFlags) const;
// Return the offset to the column in which the specified point (in flow-thread coordinates)
- // lives. This is used to convert a flow-thread point to a visual point.
+ // lives. This is used to convert a flow-thread point to a point in the containing coordinate space.
virtual LayoutSize columnOffset(const LayoutPoint&) const { return LayoutSize(); }
virtual unsigned length() const { return 1; }

Powered by Google App Engine
This is Rietveld 408576698