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

Unified Diff: Source/web/WebHistoryItem.cpp

Issue 639023004: Oilpan: move HistoryItem to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/web/ContextMenuClientImpl.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebHistoryItem.cpp
diff --git a/Source/web/WebHistoryItem.cpp b/Source/web/WebHistoryItem.cpp
index 9e1c984581b4041e1010383eb3834c8e35018424..99623e7d00484eda86aa7858e2f1cd466313f97b 100644
--- a/Source/web/WebHistoryItem.cpp
+++ b/Source/web/WebHistoryItem.cpp
@@ -220,18 +220,18 @@ WebVector<WebString> WebHistoryItem::getReferencedFilePaths() const
return results;
}
-WebHistoryItem::WebHistoryItem(const PassRefPtr<HistoryItem>& item)
+WebHistoryItem::WebHistoryItem(const PassRefPtrWillBeRawPtr<HistoryItem>& item)
: m_private(item)
{
}
-WebHistoryItem& WebHistoryItem::operator=(const PassRefPtr<HistoryItem>& item)
+WebHistoryItem& WebHistoryItem::operator=(const PassRefPtrWillBeRawPtr<HistoryItem>& item)
{
m_private = item;
return *this;
}
-WebHistoryItem::operator PassRefPtr<HistoryItem>() const
+WebHistoryItem::operator PassRefPtrWillBeRawPtr<HistoryItem>() const
{
return m_private.get();
}
« no previous file with comments | « Source/web/ContextMenuClientImpl.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698