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

Side by Side Diff: Source/core/frame/LocalDOMWindow.h

Issue 344833002: Oilpan: move MessagePortArray to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 6 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 unified diff | Download patch
« no previous file with comments | « Source/core/events/MessageEvent.cpp ('k') | Source/core/workers/SharedWorkerGlobalScope.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 class Screen; 76 class Screen;
77 class ScriptCallStack; 77 class ScriptCallStack;
78 class SecurityOrigin; 78 class SecurityOrigin;
79 class SerializedScriptValue; 79 class SerializedScriptValue;
80 class Storage; 80 class Storage;
81 class StyleMedia; 81 class StyleMedia;
82 class DOMWindowCSS; 82 class DOMWindowCSS;
83 83
84 struct WindowFeatures; 84 struct WindowFeatures;
85 85
86 typedef Vector<RefPtr<MessagePort>, 1> MessagePortArray; 86 typedef WillBeHeapVector<RefPtrWillBeMember<MessagePort>, 1> MessagePortArra y;
87 87
88 enum PageshowEventPersistence { 88 enum PageshowEventPersistence {
89 PageshowEventNotPersisted = 0, 89 PageshowEventNotPersisted = 0,
90 PageshowEventPersisted = 1 90 PageshowEventPersisted = 1
91 }; 91 };
92 92
93 enum SetLocationLocking { LockHistoryBasedOnGestureState, LockHistoryAndBack ForwardList }; 93 enum SetLocationLocking { LockHistoryBasedOnGestureState, LockHistoryAndBack ForwardList };
94 94
95 class LocalDOMWindow FINAL : public RefCountedWillBeRefCountedGarbageCollect ed<LocalDOMWindow>, public ScriptWrappable, public EventTargetWithInlineData, pu blic DOMWindowBase64, public FrameDestructionObserver, public WillBeHeapSuppleme ntable<LocalDOMWindow>, public LifecycleContext<LocalDOMWindow> { 95 class LocalDOMWindow FINAL : public RefCountedWillBeRefCountedGarbageCollect ed<LocalDOMWindow>, public ScriptWrappable, public EventTargetWithInlineData, pu blic DOMWindowBase64, public FrameDestructionObserver, public WillBeHeapSuppleme ntable<LocalDOMWindow>, public LifecycleContext<LocalDOMWindow> {
96 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(LocalDOMWindow); 96 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(LocalDOMWindow);
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 } 403 }
404 404
405 inline String LocalDOMWindow::defaultStatus() const 405 inline String LocalDOMWindow::defaultStatus() const
406 { 406 {
407 return m_defaultStatus; 407 return m_defaultStatus;
408 } 408 }
409 409
410 } // namespace WebCore 410 } // namespace WebCore
411 411
412 #endif // DOMWindow_h 412 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « Source/core/events/MessageEvent.cpp ('k') | Source/core/workers/SharedWorkerGlobalScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698