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

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: Console public inherits DOMWindowProperty 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..5424dcb79d1ae933a1828165fa1d30469bfbdf12 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, public DOMWindowProperty, public HeapSupplementable<Console> {
+ 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