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

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

Issue 2754653002: Cleanup anonymous text objects that pass the document as a node. (Closed)
Patch Set: Cleanup anonymous text objects that pass the document as a node. Created 3 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/LayoutText.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutText.h b/third_party/WebKit/Source/core/layout/LayoutText.h
index 2dfce8f25c2e515f210b805ea0d0302c9c5931ef..d95b680670f66dc0970598725e178f951352ae3a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutText.h
+++ b/third_party/WebKit/Source/core/layout/LayoutText.h
@@ -76,6 +76,8 @@ class CORE_EXPORT LayoutText : public LayoutObject {
~LayoutText() override;
#endif
+ static LayoutText* createEmptyAnonymous(Document&);
+
const char* name() const override { return "LayoutText"; }
virtual bool isTextFragment() const;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutQuote.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698