| 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 1e8ba46b6e1ecbcb9d1cb155c6b81fcfb5fa0fbe..c9c3ea6c7a5c397b1f2cdc76d3f891a6ceca5b74 100644
|
| --- a/third_party/WebKit/Source/core/testing/Internals.cpp
|
| +++ b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| @@ -1481,6 +1481,15 @@ void Internals::setUserPreferredLanguages(const Vector<String>& languages) {
|
| overrideUserPreferredLanguages(atomicLanguages);
|
| }
|
|
|
| +unsigned Internals::mediaKeysCount() {
|
| + return InstanceCounters::counterValue(InstanceCounters::MediaKeysCounter);
|
| +}
|
| +
|
| +unsigned Internals::mediaKeySessionCount() {
|
| + return InstanceCounters::counterValue(
|
| + InstanceCounters::MediaKeySessionCounter);
|
| +}
|
| +
|
| unsigned Internals::suspendableObjectCount(Document* document) {
|
| DCHECK(document);
|
| return document->suspendableObjectCount();
|
|
|