Index: Source/core/html/shadow/DateTimeEditElement.cpp |
diff --git a/Source/core/html/shadow/DateTimeEditElement.cpp b/Source/core/html/shadow/DateTimeEditElement.cpp |
index 0b8bc109b5529f526590e79ed656054eb3731a32..228d55cafc538e81d706a95a144f8b283314de7a 100644 |
--- a/Source/core/html/shadow/DateTimeEditElement.cpp |
+++ b/Source/core/html/shadow/DateTimeEditElement.cpp |
@@ -35,7 +35,7 @@ |
#include "core/html/forms/DateTimeFieldsState.h" |
#include "core/html/shadow/DateTimeFieldElements.h" |
#include "core/html/shadow/ShadowElementNames.h" |
-#include "core/layout/style/LayoutStyle.h" |
+#include "core/layout/style/ComputedStyle.h" |
#include "core/layout/style/StyleInheritedData.h" |
#include "platform/fonts/FontCache.h" |
#include "platform/text/DateTimeFormat.h" |
@@ -501,11 +501,11 @@ PassRefPtrWillBeRawPtr<DateTimeEditElement> DateTimeEditElement::create(Document |
return container.release(); |
} |
-PassRefPtr<LayoutStyle> DateTimeEditElement::customStyleForLayoutObject() |
+PassRefPtr<ComputedStyle> DateTimeEditElement::customStyleForLayoutObject() |
{ |
// FIXME: This is a kind of layout. We might want to introduce new renderer. |
- RefPtr<LayoutStyle> originalStyle = originalStyleForLayoutObject(); |
- RefPtr<LayoutStyle> style = LayoutStyle::clone(*originalStyle); |
+ RefPtr<ComputedStyle> originalStyle = originalStyleForLayoutObject(); |
+ RefPtr<ComputedStyle> style = ComputedStyle::clone(*originalStyle); |
float width = 0; |
for (Node* child = fieldsWrapperElement()->firstChild(); child; child = child->nextSibling()) { |
if (!child->isElementNode()) |