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

Unified Diff: Source/modules/accessibility/testing/InternalsAccessibility.cpp

Issue 1202263005: Adding Internals.numberOfLiveAXObjects to test for leaking AXObjects (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 months 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: Source/modules/accessibility/testing/InternalsAccessibility.cpp
diff --git a/Source/web/WebPluginScriptForbiddenScope.cpp b/Source/modules/accessibility/testing/InternalsAccessibility.cpp
similarity index 50%
copy from Source/web/WebPluginScriptForbiddenScope.cpp
copy to Source/modules/accessibility/testing/InternalsAccessibility.cpp
index 7dbc0a7b76ac808fe1325e567c2699d06ed81d76..4a0d1d92b9a3941de8c8de38b5b40b8174641e54 100644
--- a/Source/web/WebPluginScriptForbiddenScope.cpp
+++ b/Source/modules/accessibility/testing/InternalsAccessibility.cpp
@@ -3,15 +3,16 @@
// found in the LICENSE file.
#include "config.h"
-#include "public/web/WebPluginScriptForbiddenScope.h"
+#include "InternalsAccessibility.h"
-#include "platform/PluginScriptForbiddenScope.h"
+#include "core/testing/Internals.h"
+#include "modules/accessibility/AXObject.h"
namespace blink {
-bool WebPluginScriptForbiddenScope::isForbidden()
+unsigned InternalsAccessibility::numberOfLiveAXObjects(Internals&)
{
- return PluginScriptForbiddenScope::isForbidden();
+ return AXObject::numberOfLiveAXObjects();
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698