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

Unified Diff: third_party/WebKit/Source/web/WebHistoryItem.cpp

Issue 1865813002: Remove RawPtr from Source/web/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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/web/WebHistoryItem.cpp
diff --git a/third_party/WebKit/Source/web/WebHistoryItem.cpp b/third_party/WebKit/Source/web/WebHistoryItem.cpp
index 227143512bc0d2f980f3c7ff83491ade246d0f42..f95286aa8ee17c65d3c0be3e26a7b2629c9454d1 100644
--- a/third_party/WebKit/Source/web/WebHistoryItem.cpp
+++ b/third_party/WebKit/Source/web/WebHistoryItem.cpp
@@ -219,18 +219,18 @@ WebVector<WebString> WebHistoryItem::getReferencedFilePaths() const
return results;
}
-WebHistoryItem::WebHistoryItem(const RawPtr<HistoryItem>& item)
+WebHistoryItem::WebHistoryItem(HistoryItem* item)
: m_private(item)
{
}
-WebHistoryItem& WebHistoryItem::operator=(const RawPtr<HistoryItem>& item)
+WebHistoryItem& WebHistoryItem::operator=(HistoryItem* item)
{
m_private = item;
return *this;
}
-WebHistoryItem::operator RawPtr<HistoryItem>() const
+WebHistoryItem::operator HistoryItem*() const
{
return m_private.get();
}
« no previous file with comments | « third_party/WebKit/Source/web/WebGeolocationController.cpp ('k') | third_party/WebKit/Source/web/WebHitTestResult.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698