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

Unified Diff: Source/core/timing/PerformanceResourceTiming.h

Issue 693483004: Enable Oilpan for core/timing/. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: de-weakify Performance::m_memoryInfo Created 5 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
« no previous file with comments | « Source/core/timing/PerformanceNavigation.idl ('k') | Source/core/timing/PerformanceResourceTiming.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/timing/PerformanceResourceTiming.h
diff --git a/Source/core/timing/PerformanceResourceTiming.h b/Source/core/timing/PerformanceResourceTiming.h
index 3252d75ada9d4a0618543123fc778e81b67ddc90..55f0a6ab4f18889c899cbd81a7ded2ea6e612366 100644
--- a/Source/core/timing/PerformanceResourceTiming.h
+++ b/Source/core/timing/PerformanceResourceTiming.h
@@ -34,8 +34,7 @@
#include "core/timing/PerformanceEntry.h"
#include "platform/heap/Handle.h"
-#include "wtf/PassRefPtr.h"
-#include "wtf/RefPtr.h"
+#include "wtf/Forward.h"
namespace blink {
@@ -46,14 +45,14 @@ class ResourceTimingInfo;
class PerformanceResourceTiming final : public PerformanceEntry {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<PerformanceResourceTiming> create(const ResourceTimingInfo& info, Document* requestingDocument, double startTime, double lastRedirectEndTime, bool m_allowTimingDetails, bool m_allowRedirectDetails)
+ static PerformanceResourceTiming* create(const ResourceTimingInfo& info, Document* requestingDocument, double startTime, double lastRedirectEndTime, bool m_allowTimingDetails, bool m_allowRedirectDetails)
{
- return adoptRefWillBeNoop(new PerformanceResourceTiming(info, requestingDocument, startTime, lastRedirectEndTime, m_allowTimingDetails, m_allowRedirectDetails));
+ return new PerformanceResourceTiming(info, requestingDocument, startTime, lastRedirectEndTime, m_allowTimingDetails, m_allowRedirectDetails);
}
- static PassRefPtrWillBeRawPtr<PerformanceResourceTiming> create(const ResourceTimingInfo& info, Document* requestingDocument, double startTime, bool m_allowTimingDetails)
+ static PerformanceResourceTiming* create(const ResourceTimingInfo& info, Document* requestingDocument, double startTime, bool m_allowTimingDetails)
{
- return adoptRefWillBeNoop(new PerformanceResourceTiming(info, requestingDocument, startTime, 0.0, m_allowTimingDetails, false));
+ return new PerformanceResourceTiming(info, requestingDocument, startTime, 0.0, m_allowTimingDetails, false);
}
AtomicString initiatorType() const;
@@ -79,13 +78,13 @@ private:
virtual ~PerformanceResourceTiming();
AtomicString m_initiatorType;
+ RefPtrWillBeMember<Document> m_requestingDocument;
RefPtr<ResourceLoadTiming> m_timing;
double m_lastRedirectEndTime;
double m_finishTime;
bool m_didReuseConnection;
bool m_allowTimingDetails;
bool m_allowRedirectDetails;
- RefPtrWillBeMember<Document> m_requestingDocument;
};
} // namespace blink
« no previous file with comments | « Source/core/timing/PerformanceNavigation.idl ('k') | Source/core/timing/PerformanceResourceTiming.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698