Index: third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp |
diff --git a/third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp b/third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp |
index f35d30bee26f77a0f33070c8827d67bf0049f1c8..9b25aa9cf95ccc0cde3a8948d24da1666205470e 100644 |
--- a/third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp |
+++ b/third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp |
@@ -40,7 +40,7 @@ void StyleInvalidator::invalidate(Document& document) |
clearPendingInvalidations(); |
} |
-void StyleInvalidator::scheduleInvalidation(PassRefPtrWillBeRawPtr<InvalidationSet> invalidationSet, Element& element) |
+void StyleInvalidator::scheduleInvalidation(PassRefPtr<InvalidationSet> invalidationSet, Element& element) |
{ |
ASSERT(element.inActiveDocument()); |
if (element.styleChangeType() >= SubtreeStyleChange) |
@@ -65,7 +65,7 @@ StyleInvalidator::InvalidationList& StyleInvalidator::ensurePendingInvalidationL |
{ |
PendingInvalidationMap::AddResult addResult = m_pendingInvalidationMap.add(&element, nullptr); |
if (addResult.isNewEntry) |
- addResult.storedValue->value = adoptPtrWillBeNoop(new InvalidationList); |
+ addResult.storedValue->value = adoptPtr(new InvalidationList); |
return *addResult.storedValue->value; |
} |