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

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

Issue 1063513007: Oilpan: have Console be on the heap by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | « no previous file | Source/core/frame/Console.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/Console.h
diff --git a/Source/core/frame/Console.h b/Source/core/frame/Console.h
index e42c953c7b3fc45cf875faea722b8dbe1833a3c4..578be026f10f13090617c9f17c50b68adc314ca8 100644
--- a/Source/core/frame/Console.h
+++ b/Source/core/frame/Console.h
@@ -41,13 +41,13 @@ namespace blink {
class LocalFrame;
-class Console final : public ConsoleBase, public DOMWindowProperty, public WillBeHeapSupplementable<Console> {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Console);
+class Console final : public ConsoleBase, DOMWindowProperty, public HeapSupplementable<Console> {
haraken 2015/04/25 08:07:56 Nit: Why do we drop public from DOMWindowProperty
sof 2015/04/25 08:15:30 I'm just aiming for local consistency, but perhaps
haraken 2015/04/25 08:30:33 Either is fine with me as long as it's consistent
sof 2015/04/25 08:56:03 Yes, as Oilpan crosscuts, we end up running into t
+ USING_GARBAGE_COLLECTED_MIXIN(Console);
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<Console> create(LocalFrame* frame)
+ static Console* create(LocalFrame* frame)
{
- return adoptRefWillBeNoop(new Console(frame));
+ return new Console(frame);
}
virtual ~Console();
« no previous file with comments | « no previous file | Source/core/frame/Console.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698