| Index: Source/core/html/track/VTTCue.cpp
|
| diff --git a/Source/core/css/xhtmlmp.css b/Source/core/html/track/VTTCue.cpp
|
| similarity index 77%
|
| copy from Source/core/css/xhtmlmp.css
|
| copy to Source/core/html/track/VTTCue.cpp
|
| index 11ea1cf1a031cfbf2694983c810bab1f925d99ae..df88050542baafbdc9fd2b252dda44c65a74de70 100644
|
| --- a/Source/core/css/xhtmlmp.css
|
| +++ b/Source/core/html/track/VTTCue.cpp
|
| @@ -27,11 +27,20 @@
|
| * OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -/* Default styles for XHTML Mobile Profile documents where they differ from html.css */
|
| +#include "config.h"
|
| +#include "core/html/track/VTTCue.h"
|
|
|
| -@viewport {
|
| - width: auto;
|
| - /* Ideally these should be removed. Currently here to avoid test result regressions. */
|
| - min-zoom: 0.25;
|
| - max-zoom: 5;
|
| +namespace WebCore {
|
| +
|
| +VTTCue::VTTCue(Document& document, double startTime, double endTime, const String& text)
|
| + : TextTrackCue(document, startTime, endTime, text)
|
| +{
|
| + ScriptWrappable::init(this);
|
| +}
|
| +
|
| +PassRefPtr<VTTCue> VTTCue::create(Document& document, double startTime, double endTime, const String& text)
|
| +{
|
| + return adoptRef(new VTTCue(document, startTime, endTime, text));
|
| }
|
| +
|
| +} // namespace WebCore
|
|
|