Index: third_party/WebKit/Source/core/layout/InlineTextBoxTest.cpp |
diff --git a/third_party/WebKit/Source/core/layout/InlineTextBoxTest.cpp b/third_party/WebKit/Source/core/layout/InlineTextBoxTest.cpp |
index b2f4818f14ff695ec28b515e80c01172774dc717..d70cb9cb558e41c3370b6d347eadf158be47d79f 100644 |
--- a/third_party/WebKit/Source/core/layout/InlineTextBoxTest.cpp |
+++ b/third_party/WebKit/Source/core/layout/InlineTextBoxTest.cpp |
@@ -24,6 +24,7 @@ public: |
{ |
Text* node = document.createTextNode(string); |
LayoutText* text = new LayoutText(node, string.impl()); |
+ text->setStyle(ComputedStyle::create()); |
return new TestInlineTextBox(LineLayoutItem(text)); |
} |