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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/RetainedDOMInfo.cpp

Issue 2567913002: Rename ActiveDOMObject to SuspendableObject (Closed)
Patch Set: Created 4 years 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/bindings/core/v8/RetainedDOMInfo.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/RetainedDOMInfo.cpp b/third_party/WebKit/Source/bindings/core/v8/RetainedDOMInfo.cpp
index 473b4387226af6335e6d19b089cfba93f6d8e5e9..9e22b73b241504b7c7add1ec8604c4581b212d04 100644
--- a/third_party/WebKit/Source/bindings/core/v8/RetainedDOMInfo.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/RetainedDOMInfo.cpp
@@ -93,38 +93,38 @@ intptr_t RetainedDOMInfo::GetEquivalenceClass() {
return reinterpret_cast<intptr_t>(m_root.get());
}
-ActiveDOMObjectsInfo::ActiveDOMObjectsInfo(
+SuspendableObjectsInfo::SuspendableObjectsInfo(
int numberOfObjectsWithPendingActivity)
: m_numberOfObjectsWithPendingActivity(numberOfObjectsWithPendingActivity) {
}
-ActiveDOMObjectsInfo::~ActiveDOMObjectsInfo() {}
+SuspendableObjectsInfo::~SuspendableObjectsInfo() {}
-void ActiveDOMObjectsInfo::Dispose() {
+void SuspendableObjectsInfo::Dispose() {
delete this;
}
-bool ActiveDOMObjectsInfo::IsEquivalent(v8::RetainedObjectInfo* other) {
+bool SuspendableObjectsInfo::IsEquivalent(v8::RetainedObjectInfo* other) {
return this == other;
}
-intptr_t ActiveDOMObjectsInfo::GetHash() {
+intptr_t SuspendableObjectsInfo::GetHash() {
return PtrHash<void>::hash(this);
}
-const char* ActiveDOMObjectsInfo::GetGroupLabel() {
+const char* SuspendableObjectsInfo::GetGroupLabel() {
return "(Pending activities group)";
}
-const char* ActiveDOMObjectsInfo::GetLabel() {
+const char* SuspendableObjectsInfo::GetLabel() {
return "Pending activities";
}
-intptr_t ActiveDOMObjectsInfo::GetElementCount() {
+intptr_t SuspendableObjectsInfo::GetElementCount() {
return m_numberOfObjectsWithPendingActivity;
}
-intptr_t ActiveDOMObjectsInfo::GetEquivalenceClass() {
+intptr_t SuspendableObjectsInfo::GetEquivalenceClass() {
return reinterpret_cast<intptr_t>(this);
}

Powered by Google App Engine
This is Rietveld 408576698