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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 1711703002: Add internals.isCSSPropertyUseCounted functionality (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: 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 b64438310952189c839cc91f4cd6784215ab5d59..970b8c472ca389b447a3b04657cda5113395c64d 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -2490,6 +2490,11 @@ bool Internals::isUseCounted(Document* document, int useCounterId)
return UseCounter::isCounted(*document, static_cast<UseCounter::Feature>(useCounterId));
}
+bool Internals::isCSSPropertyUseCounted(Document* document, const String& propertyName)
+{
+ return UseCounter::isCounted(*document, propertyName);
+}
+
String Internals::unscopeableAttribute()
{
return "unscopeableAttribute";
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.h ('k') | third_party/WebKit/Source/core/testing/Internals.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698