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

Unified Diff: third_party/WebKit/Source/core/layout/api/LineLayoutItem.h

Issue 1433253003: [Line Layout API] Convert AbstractInlineTextBox to new line layout API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/api/LineLayoutItem.h
diff --git a/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h b/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h
index 760b76f5297d237f01b151f25f108a7bbfa30dc0..7cb91f39cf9148299352d72b7838275d4cd6db40 100644
--- a/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h
+++ b/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h
@@ -37,6 +37,11 @@ public:
{
}
+ void detach()
+ {
+ m_layoutObject = 0;
+ }
+
LineLayoutItem() : m_layoutObject(0) { }
// TODO(pilgrim): Remove this. It's only here to make things compile before
@@ -94,6 +99,11 @@ public:
return m_layoutObject->updateHitTestResult(result, point);
}
+ FloatQuad localToAbsoluteQuad(const FloatQuad& quad, MapCoordinatesFlags mode = 0, bool* wasFixed = nullptr) const
+ {
+ return m_layoutObject->localToAbsoluteQuad(quad, mode, wasFixed);
+ }
+
LineLayoutItem nextSibling() const
{
return LineLayoutItem(m_layoutObject->nextSibling());

Powered by Google App Engine
This is Rietveld 408576698