Index: Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp |
diff --git a/Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp b/Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp |
index c304255c499f791621ccbd050aae10dd9fcf5406..42a76c47c00b78a2a199c9e40edf18e0f6bc462d 100644 |
--- a/Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp |
+++ b/Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp |
@@ -324,7 +324,7 @@ void BaseMultipleFieldsDateAndTimeInputType::blur() |
edit->blurByOwner(); |
} |
-PassRefPtr<LayoutStyle> BaseMultipleFieldsDateAndTimeInputType::customStyleForLayoutObject(PassRefPtr<LayoutStyle> originalStyle) |
+PassRefPtr<ComputedStyle> BaseMultipleFieldsDateAndTimeInputType::customStyleForLayoutObject(PassRefPtr<ComputedStyle> originalStyle) |
{ |
EDisplay originalDisplay = originalStyle->display(); |
EDisplay newDisplay = originalDisplay; |
@@ -336,7 +336,7 @@ PassRefPtr<LayoutStyle> BaseMultipleFieldsDateAndTimeInputType::customStyleForLa |
if (originalStyle->direction() == contentDirection && originalDisplay == newDisplay) |
return originalStyle; |
- RefPtr<LayoutStyle> style = LayoutStyle::clone(*originalStyle); |
+ RefPtr<ComputedStyle> style = ComputedStyle::clone(*originalStyle); |
style->setDirection(contentDirection); |
style->setDisplay(newDisplay); |
style->setUnique(); |