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

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

Issue 1101123004: Oilpan: keep navigation timing objects on the heap by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/Performance.h ('k') | Source/core/timing/PerformanceNavigation.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/timing/PerformanceNavigation.h
diff --git a/Source/core/timing/PerformanceNavigation.h b/Source/core/timing/PerformanceNavigation.h
index 25573c6637dcc38683a6dc98e1fcdb3b63507f73..2acc0eaf5119f52b94422b5c47fc21f03777cbb2 100644
--- a/Source/core/timing/PerformanceNavigation.h
+++ b/Source/core/timing/PerformanceNavigation.h
@@ -35,20 +35,18 @@
#include "core/CoreExport.h"
#include "core/frame/DOMWindowProperty.h"
#include "platform/heap/Handle.h"
-#include "wtf/PassRefPtr.h"
-#include "wtf/RefCounted.h"
namespace blink {
class LocalFrame;
-class CORE_EXPORT PerformanceNavigation final : public RefCountedWillBeGarbageCollected<PerformanceNavigation>, public ScriptWrappable, public DOMWindowProperty {
+class CORE_EXPORT PerformanceNavigation final : public GarbageCollectedFinalized<PerformanceNavigation>, public ScriptWrappable, public DOMWindowProperty {
DEFINE_WRAPPERTYPEINFO();
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PerformanceNavigation);
public:
- static PassRefPtrWillBeRawPtr<PerformanceNavigation> create(LocalFrame* frame)
+ static PerformanceNavigation* create(LocalFrame* frame)
{
- return adoptRefWillBeNoop(new PerformanceNavigation(frame));
+ return new PerformanceNavigation(frame);
}
enum PerformanceNavigationType {
« no previous file with comments | « Source/core/timing/Performance.h ('k') | Source/core/timing/PerformanceNavigation.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698