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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutInlineTest.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
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutInline.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutInlineTest.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutInlineTest.cpp b/third_party/WebKit/Source/core/layout/LayoutInlineTest.cpp
index 662d734360df9b9d300cf278fa5fda463a601616..f5d8247b74057bdfbd846cbbc7df1e9f80c8e37a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutInlineTest.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutInlineTest.cpp
@@ -13,14 +13,6 @@ namespace blink {
class LayoutInlineTest : public RenderingTest {
};
-TEST_F(LayoutInlineTest, LayoutNameCalledWithNullStyle)
-{
- LayoutObject* obj = LayoutInline::createAnonymous(&document());
- EXPECT_FALSE(obj->style());
- EXPECT_STREQ("LayoutInline (anonymous)", obj->decoratedName().ascii().data());
- obj->destroy();
-}
-
TEST_F(LayoutInlineTest, SimpleContinuation)
{
setBodyInnerHTML("<span id='splitInline'><i id='before'></i><h1 id='blockChild'></h1><i id='after'></i></span>");
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutInline.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698