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

Unified Diff: Source/web/WebPerformance.cpp

Issue 197283036: Oilpan: have WebPerformance use transition types. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/core/frame/DOMWindow.h ('k') | public/web/WebPerformance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPerformance.cpp
diff --git a/Source/web/WebPerformance.cpp b/Source/web/WebPerformance.cpp
index 8b841e730a9e726fea3afd29cbebb6757bca4f18..1d0888126546f254c584d4020bef4143f676ff9d 100644
--- a/Source/web/WebPerformance.cpp
+++ b/Source/web/WebPerformance.cpp
@@ -168,20 +168,15 @@ double WebPerformance::loadEventEnd() const
return millisecondsToSeconds(m_private->timing()->loadEventEnd());
}
-WebPerformance::WebPerformance(const PassRefPtr<Performance>& performance)
+WebPerformance::WebPerformance(const PassRefPtrWillBeRawPtr<Performance>& performance)
: m_private(performance)
{
}
-WebPerformance& WebPerformance::operator=(const PassRefPtr<Performance>& performance)
+WebPerformance& WebPerformance::operator=(const PassRefPtrWillBeRawPtr<Performance>& performance)
{
m_private = performance;
return *this;
}
-WebPerformance::operator PassRefPtr<Performance>() const
-{
- return m_private.get();
-}
-
} // namespace blink
« no previous file with comments | « Source/core/frame/DOMWindow.h ('k') | public/web/WebPerformance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698