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

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

Issue 2001723002: Remove LayoutInline::createAnonymous() - no callers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutInline.cpp b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
index 615d78b82d53dafe05df53eca7703c9d94710c35..193b17d34d493921a5ba0d7d15b422d7b7cb9006 100644
--- a/third_party/WebKit/Source/core/layout/LayoutInline.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
@@ -58,13 +58,6 @@ LayoutInline::LayoutInline(Element* element)
setChildrenInline(true);
}
-LayoutInline* LayoutInline::createAnonymous(Document* document)
-{
- LayoutInline* layoutObject = new LayoutInline(nullptr);
- layoutObject->setDocumentForAnonymous(document);
- return layoutObject;
-}
-
void LayoutInline::willBeDestroyed()
{
// Make sure to destroy anonymous children first while they are still connected to the rest of the tree, so that they will
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutInline.h ('k') | third_party/WebKit/Source/core/layout/LayoutInlineTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698