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

Unified Diff: Source/core/frame/FrameConsole.h

Issue 451153002: Oilpan: Move ConsoleMessage to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
Index: Source/core/frame/FrameConsole.h
diff --git a/Source/core/frame/FrameConsole.h b/Source/core/frame/FrameConsole.h
index 4541ef6cb1232704a9d7fdd45ee46a5fae430d29..31a5d12052644356e914e0c7128566b45928ed40 100644
--- a/Source/core/frame/FrameConsole.h
+++ b/Source/core/frame/FrameConsole.h
@@ -31,6 +31,7 @@
#include "bindings/core/v8/ScriptState.h"
#include "core/frame/ConsoleTypes.h"
+#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
#include "wtf/PassOwnPtr.h"
@@ -46,7 +47,7 @@ class FrameConsole FINAL {
public:
static PassOwnPtr<FrameConsole> create(LocalFrame& frame) { return adoptPtr(new FrameConsole(frame)); }
- void addMessage(PassRefPtr<ConsoleMessage>);
+ void addMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>);
static String formatStackTraceString(const String& originalMessage, PassRefPtrWillBeRawPtr<ScriptCallStack>);
static void mute();

Powered by Google App Engine
This is Rietveld 408576698