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

Unified Diff: third_party/WebKit/Source/core/style/ContentData.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/style/ContentData.cpp
diff --git a/third_party/WebKit/Source/core/style/ContentData.cpp b/third_party/WebKit/Source/core/style/ContentData.cpp
index 9d2c4969124bce50ecc307f2ee1a0c25dc89ac4a..236adfa729281138e730f7f53b778a7c5bb1485e 100644
--- a/third_party/WebKit/Source/core/style/ContentData.cpp
+++ b/third_party/WebKit/Source/core/style/ContentData.cpp
@@ -31,33 +31,33 @@
namespace blink {
-PassOwnPtrWillBeRawPtr<ContentData> ContentData::create(PassRefPtrWillBeRawPtr<StyleImage> image)
+RawPtr<ContentData> ContentData::create(RawPtr<StyleImage> image)
{
- return adoptPtrWillBeNoop(new ImageContentData(image));
+ return new ImageContentData(image);
}
-PassOwnPtrWillBeRawPtr<ContentData> ContentData::create(const String& text)
+RawPtr<ContentData> ContentData::create(const String& text)
{
- return adoptPtrWillBeNoop(new TextContentData(text));
+ return new TextContentData(text);
}
-PassOwnPtrWillBeRawPtr<ContentData> ContentData::create(PassOwnPtr<CounterContent> counter)
+RawPtr<ContentData> ContentData::create(PassOwnPtr<CounterContent> counter)
{
- return adoptPtrWillBeNoop(new CounterContentData(counter));
+ return new CounterContentData(counter);
}
-PassOwnPtrWillBeRawPtr<ContentData> ContentData::create(QuoteType quote)
+RawPtr<ContentData> ContentData::create(QuoteType quote)
{
- return adoptPtrWillBeNoop(new QuoteContentData(quote));
+ return new QuoteContentData(quote);
}
-PassOwnPtrWillBeRawPtr<ContentData> ContentData::clone() const
+RawPtr<ContentData> ContentData::clone() const
{
- OwnPtrWillBeRawPtr<ContentData> result = cloneInternal();
+ RawPtr<ContentData> result = cloneInternal();
ContentData* lastNewData = result.get();
for (const ContentData* contentData = next(); contentData; contentData = contentData->next()) {
- OwnPtrWillBeRawPtr<ContentData> newData = contentData->cloneInternal();
+ RawPtr<ContentData> newData = contentData->cloneInternal();
lastNewData->setNext(newData.release());
lastNewData = lastNewData->next();
}
« no previous file with comments | « third_party/WebKit/Source/core/style/ContentData.h ('k') | third_party/WebKit/Source/core/style/CursorData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698