Index: third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
index a89cc5988c0e902e2d7d75c19013b1a827cc7596..249f3717ffed35c70e5c74506f46f2647fc702d0 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
@@ -285,7 +285,7 @@ KURL HTMLVideoElement::posterImageURL() const |
return document().completeURL(url); |
} |
-PassRefPtr<Image> HTMLVideoElement::getSourceImageForCanvas(SourceImageStatus* status, AccelerationHint, SnapshotReason) const |
+PassRefPtr<Image> HTMLVideoElement::getSourceImageForCanvas(SourceImageStatus* status, AccelerationHint, SnapshotReason, const FloatSize&) const |
{ |
if (!hasAvailableVideoFrame()) { |
*status = InvalidSourceImageStatus; |
@@ -316,7 +316,7 @@ bool HTMLVideoElement::wouldTaintOrigin(SecurityOrigin* destinationSecurityOrigi |
return !isMediaDataCORSSameOrigin(destinationSecurityOrigin); |
} |
-FloatSize HTMLVideoElement::elementSize() const |
+FloatSize HTMLVideoElement::elementSize(const FloatSize&) const |
{ |
return FloatSize(videoWidth(), videoHeight()); |
} |