Chromium Code Reviews| Index: third_party/WebKit/Source/core/testing/Internals.cpp |
| diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp |
| index 12f24bfed2be67659661d6b914e3efa236e2a7c2..4dea1a9a06e53648a485a38d64b0b51d8b835608 100644 |
| --- a/third_party/WebKit/Source/core/testing/Internals.cpp |
| +++ b/third_party/WebKit/Source/core/testing/Internals.cpp |
| @@ -1867,6 +1867,12 @@ double Internals::effectiveMediaVolume(HTMLMediaElement* mediaElement) |
| return mediaElement->effectiveMediaVolume(); |
| } |
| +unsigned short Internals::effectivePreloadType(HTMLMediaElement* mediaElement) |
| +{ |
| + ASSERT(mediaElement); |
| + return static_cast<unsigned short>(mediaElement->effectivePreloadType()); |
|
philipj_slow
2016/03/14 13:03:15
Can you call if just effectivePreload and return a
Srirama
2016/03/14 15:12:54
Done.
|
| +} |
| + |
| void Internals::mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement* mediaElement, bool available) |
| { |
| ASSERT(mediaElement); |