| Index: Source/core/html/track/TextTrackRegion.cpp
|
| diff --git a/Source/core/html/track/TextTrackRegion.cpp b/Source/core/html/track/TextTrackRegion.cpp
|
| index 236f2f788e325d9f5e1e4f1faba78e83af99763c..7c2a517aeb1de1a9224d2b54b2ede0378b4fa599 100644
|
| --- a/Source/core/html/track/TextTrackRegion.cpp
|
| +++ b/Source/core/html/track/TextTrackRegion.cpp
|
| @@ -54,7 +54,7 @@ namespace WebCore {
|
| static const float defaultWidth = 100;
|
|
|
| // The region has, by default, 3 lines of text.
|
| -static const long defaultHeightInLines = 3;
|
| +static const int defaultHeightInLines = 3;
|
|
|
| // The region and viewport are anchored in the bottom left corner.
|
| static const float defaultAnchorPointX = 0;
|
| @@ -114,7 +114,7 @@ void TextTrackRegion::setWidth(double value, ExceptionCode& ec)
|
| m_width = value;
|
| }
|
|
|
| -void TextTrackRegion::setHeight(long value, ExceptionCode& ec)
|
| +void TextTrackRegion::setHeight(int value, ExceptionCode& ec)
|
| {
|
| if (value < 0) {
|
| ec = IndexSizeError;
|
|
|