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

Unified Diff: Source/core/paint/TextPainterTest.cpp

Issue 940373003: Rename RenderText to LayoutText (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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 | « Source/core/paint/TextPainter.cpp ('k') | Source/core/paint/ViewDisplayListTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/TextPainterTest.cpp
diff --git a/Source/core/paint/TextPainterTest.cpp b/Source/core/paint/TextPainterTest.cpp
index 5a17a01af28cdd7543b4fe322b617543eb32ee20..d15c1bcff5137968942ad7a0e9c59caf803db888 100644
--- a/Source/core/paint/TextPainterTest.cpp
+++ b/Source/core/paint/TextPainterTest.cpp
@@ -10,9 +10,9 @@
#include "core/css/CSSPrimitiveValue.h"
#include "core/frame/Settings.h"
#include "core/layout/LayoutTestHelper.h"
+#include "core/layout/LayoutText.h"
#include "core/layout/style/ShadowData.h"
#include "core/layout/style/ShadowList.h"
-#include "core/rendering/RenderText.h"
#include <gtest/gtest.h>
namespace blink {
@@ -23,19 +23,19 @@ public:
TextPainterTest() : m_renderText(nullptr) { }
protected:
- RenderText* renderText() { return m_renderText; }
+ LayoutText* renderText() { return m_renderText; }
private:
virtual void SetUp() override
{
RenderingTest::SetUp();
setBodyInnerHTML("Hello world");
- m_renderText = toRenderText(document().body()->firstChild()->renderer());
+ m_renderText = toLayoutText(document().body()->firstChild()->renderer());
ASSERT_TRUE(m_renderText);
ASSERT_EQ("Hello world", m_renderText->text());
}
- RenderText* m_renderText;
+ LayoutText* m_renderText;
};
TEST_F(TextPainterTest, TextPaintingStyle_Simple)
« no previous file with comments | « Source/core/paint/TextPainter.cpp ('k') | Source/core/paint/ViewDisplayListTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698