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

Unified Diff: Source/core/timing/PerformanceMark.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/PerformanceEntry.idl ('k') | Source/core/timing/PerformanceMeasure.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/timing/PerformanceMark.h
diff --git a/Source/core/timing/PerformanceMark.h b/Source/core/timing/PerformanceMark.h
index 9012dd04ebd02a0a241122b57cbc84753e496914..5cc698671bd9d1b7cd66133fde6051644fae6c8f 100644
--- a/Source/core/timing/PerformanceMark.h
+++ b/Source/core/timing/PerformanceMark.h
@@ -28,7 +28,6 @@
#include "core/timing/PerformanceEntry.h"
#include "platform/heap/Handle.h"
-#include "wtf/PassRefPtr.h"
#include "wtf/text/WTFString.h"
namespace blink {
@@ -36,9 +35,9 @@ namespace blink {
class PerformanceMark final : public PerformanceEntry {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<PerformanceMark> create(const String& name, double startTime)
+ static PerformanceMark* create(const String& name, double startTime)
{
- return adoptRefWillBeNoop(new PerformanceMark(name, startTime));
+ return new PerformanceMark(name, startTime);
}
virtual bool isMark() override { return true; }
« no previous file with comments | « Source/core/timing/PerformanceEntry.idl ('k') | Source/core/timing/PerformanceMeasure.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698