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

Unified Diff: third_party/WebKit/Source/core/dom/CharacterData.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (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/dom/CharacterData.cpp
diff --git a/third_party/WebKit/Source/core/dom/CharacterData.cpp b/third_party/WebKit/Source/core/dom/CharacterData.cpp
index d2e1a60f30b0426f26f395a4880b9da966118d64..6f2141a0c57dd8342e880f6aaae37788af95c66d 100644
--- a/third_party/WebKit/Source/core/dom/CharacterData.cpp
+++ b/third_party/WebKit/Source/core/dom/CharacterData.cpp
@@ -46,7 +46,7 @@ void CharacterData::setData(const String& data)
if (m_data == nonNullData)
return;
- RefPtrWillBeRawPtr<CharacterData> protect(this);
+ RawPtr<CharacterData> protect(this);
unsigned oldLength = length();
@@ -182,7 +182,7 @@ void CharacterData::setDataAndUpdate(const String& newData, unsigned offsetOfRep
void CharacterData::didModifyData(const String& oldData, UpdateSource source)
{
- if (OwnPtrWillBeRawPtr<MutationObserverInterestGroup> mutationRecipients = MutationObserverInterestGroup::createForCharacterDataMutation(*this))
+ if (RawPtr<MutationObserverInterestGroup> mutationRecipients = MutationObserverInterestGroup::createForCharacterDataMutation(*this))
mutationRecipients->enqueueMutationRecord(MutationRecord::createCharacterData(this, oldData));
if (parentNode()) {

Powered by Google App Engine
This is Rietveld 408576698