Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Unified Diff: third_party/WebKit/Source/core/html/HTMLVideoElement.cpp

Issue 1455763002: Use union type in ImageBitmapFactories.idl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix errors Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 fe5170644016ab7a1e42efe73e22ff1a051996b1..449d984a3e4c69e6504892a4d3d16d8e9e0fb69e 100644
--- a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
@@ -320,4 +320,9 @@ FloatSize HTMLVideoElement::elementSize() const
return FloatSize(videoWidth(), videoHeight());
}
+IntSize HTMLVideoElement::bitmapSourceSize() const
+{
+ return IntSize(videoWidth(), videoHeight());
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698