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

Unified Diff: third_party/WebKit/Source/core/svg/SVGTests.cpp

Issue 2360383003: Make SVG*StringList and SVGStringListTearOff scarcer (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGTests.h ('k') | third_party/WebKit/Source/core/svg/SVGViewElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGTests.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGTests.cpp b/third_party/WebKit/Source/core/svg/SVGTests.cpp
index 4defe6cccdb14d01e9574b9a35823992bdedb4de..968a74d8642c438d6f4a0a87b30a3523f7389db6 100644
--- a/third_party/WebKit/Source/core/svg/SVGTests.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGTests.cpp
@@ -22,6 +22,7 @@
#include "core/SVGNames.h"
#include "core/svg/SVGElement.h"
+#include "core/svg/SVGStaticStringList.h"
#include "platform/Language.h"
namespace blink {
@@ -45,6 +46,21 @@ DEFINE_TRACE(SVGTests)
visitor->trace(m_systemLanguage);
}
+SVGStringListTearOff* SVGTests::requiredFeatures()
+{
+ return m_requiredFeatures->tearOff();
+}
+
+SVGStringListTearOff* SVGTests::requiredExtensions()
+{
+ return m_requiredExtensions->tearOff();
+}
+
+SVGStringListTearOff* SVGTests::systemLanguage()
+{
+ return m_systemLanguage->tearOff();
+}
+
bool SVGTests::isValid() const
{
// No need to check requiredFeatures since hasFeature always returns true.
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGTests.h ('k') | third_party/WebKit/Source/core/svg/SVGViewElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698