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

Unified Diff: Source/core/layout/line/InlineBox.h

Issue 1310473003: [Line Layout API] Add shim for Paint objects to access underlying LayoutObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: nits Created 5 years, 4 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: Source/core/layout/line/InlineBox.h
diff --git a/Source/core/layout/line/InlineBox.h b/Source/core/layout/line/InlineBox.h
index d23980a3a1da66874ff61ae008f8c7358a1fc590..2091a031c23d918b83ee42205adc996814b0a301 100644
--- a/Source/core/layout/line/InlineBox.h
+++ b/Source/core/layout/line/InlineBox.h
@@ -271,14 +271,6 @@ public:
EVerticalAlign verticalAlign() const { return lineLayoutItem().isText() ? ComputedStyle::initialVerticalAlign() : lineLayoutItem().style(m_bitfields.firstLine())->verticalAlign(); }
- // TODO(pilgrim) remove this
- LayoutBoxModelObject* deprecatedBoxModelObject() const
- {
- if (!lineLayoutItem().isText())
- return toLayoutBoxModelObject(&layoutObject());
- return 0;
- }
-
// Use with caution! The type is not checked!
LineLayoutBoxModel boxModelObject() const
{

Powered by Google App Engine
This is Rietveld 408576698