| Index: third_party/WebKit/Source/core/html/track/vtt/VTTRegion.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/track/vtt/VTTRegion.cpp b/third_party/WebKit/Source/core/html/track/vtt/VTTRegion.cpp
|
| index 57b1c10fa75df0979f7e26323b50280728396f6c..772bca0fb86139c7c732c00ee58e64cb1ec37fb3 100644
|
| --- a/third_party/WebKit/Source/core/html/track/vtt/VTTRegion.cpp
|
| +++ b/third_party/WebKit/Source/core/html/track/vtt/VTTRegion.cpp
|
| @@ -84,7 +84,7 @@ static bool isNonPercentage(double value,
|
| }
|
|
|
| VTTRegion::VTTRegion()
|
| - : m_id(emptyString()),
|
| + : m_id(emptyString),
|
| m_width(defaultWidth),
|
| m_heightInLines(defaultHeightInLines),
|
| m_regionAnchor(FloatPoint(defaultAnchorPointX, defaultAnchorPointY)),
|
| @@ -165,7 +165,7 @@ void VTTRegion::setScroll(const AtomicString& value,
|
| ExceptionState& exceptionState) {
|
| DEFINE_STATIC_LOCAL(const AtomicString, upScrollValueKeyword, ("up"));
|
|
|
| - if (value != emptyString() && value != upScrollValueKeyword) {
|
| + if (value != emptyString && value != upScrollValueKeyword) {
|
| exceptionState.throwDOMException(
|
| SyntaxError, "The value provided ('" + value +
|
| "') is invalid. The 'scroll' property must be either "
|
|
|