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

Unified Diff: Source/core/inspector/InspectorInstrumentation.h

Issue 668453003: Oilpan: Make InspectorInstrumentationCookie stack-allocated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorInstrumentation.h
diff --git a/Source/core/inspector/InspectorInstrumentation.h b/Source/core/inspector/InspectorInstrumentation.h
index 50657448dc84d952ad8490297ab721bc56a6ba42..1a00a6eec29dde72485cca076b41d7439c3ccfbf 100644
--- a/Source/core/inspector/InspectorInstrumentation.h
+++ b/Source/core/inspector/InspectorInstrumentation.h
@@ -64,6 +64,7 @@ class WorkerInspectorProxy;
#define FAST_RETURN_IF_NO_FRONTENDS(value) if (!hasFrontends()) return value;
class InspectorInstrumentationCookie {
+ STACK_ALLOCATED();
public:
InspectorInstrumentationCookie();
InspectorInstrumentationCookie(InstrumentingAgents*, int);
@@ -76,7 +77,7 @@ public:
bool hasMatchingTimelineAgentId(int id) const { return m_timelineAgentId == id; }
private:
- RefPtrWillBePersistent<InstrumentingAgents> m_instrumentingAgents;
+ RefPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents;
int m_timelineAgentId;
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698