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

Unified Diff: third_party/WebKit/Source/core/dom/ElementDataCache.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, 9 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/ElementDataCache.cpp
diff --git a/third_party/WebKit/Source/core/dom/ElementDataCache.cpp b/third_party/WebKit/Source/core/dom/ElementDataCache.cpp
index 3ff704d26aae93997ffa82c72e95996075cbb488..1cde844c7731e5ee6347f830dadb1f4b4ce96efd 100644
--- a/third_party/WebKit/Source/core/dom/ElementDataCache.cpp
+++ b/third_party/WebKit/Source/core/dom/ElementDataCache.cpp
@@ -30,8 +30,6 @@
namespace blink {
-DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(ElementDataCache)
-
inline unsigned attributeHash(const Vector<Attribute>& attributes)
{
return StringHasher::hashMemory(attributes.data(), attributes.size() * sizeof(Attribute));
@@ -44,7 +42,7 @@ inline bool hasSameAttributes(const Vector<Attribute>& attributes, ShareableElem
return !memcmp(attributes.data(), elementData.m_attributeArray, attributes.size() * sizeof(Attribute));
}
-PassRefPtrWillBeRawPtr<ShareableElementData> ElementDataCache::cachedShareableElementDataWithAttributes(const Vector<Attribute>& attributes)
+RawPtr<ShareableElementData> ElementDataCache::cachedShareableElementDataWithAttributes(const Vector<Attribute>& attributes)
{
ASSERT(!attributes.isEmpty());
« no previous file with comments | « third_party/WebKit/Source/core/dom/ElementDataCache.h ('k') | third_party/WebKit/Source/core/dom/ElementRareData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698