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

Side by Side Diff: Source/core/frame/DOMWindow.cpp

Issue 221823002: Oilpan: add explicit Persistent<T>(T&) and Member<T>(T&) constructors. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased and moved into platform/heap/Handle.h Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/modules/websockets/WebSocketChannel.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, 2008, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 using std::min; 107 using std::min;
108 using std::max; 108 using std::max;
109 109
110 namespace WebCore { 110 namespace WebCore {
111 111
112 class PostMessageTimer FINAL : public SuspendableTimer { 112 class PostMessageTimer FINAL : public SuspendableTimer {
113 public: 113 public:
114 PostMessageTimer(DOMWindow& window, PassRefPtr<SerializedScriptValue> messag e, const String& sourceOrigin, PassRefPtrWillBeRawPtr<DOMWindow> source, PassOwn Ptr<MessagePortChannelArray> channels, SecurityOrigin* targetOrigin, PassRefPtr< ScriptCallStack> stackTrace, UserGestureToken* userGestureToken) 114 PostMessageTimer(DOMWindow& window, PassRefPtr<SerializedScriptValue> messag e, const String& sourceOrigin, PassRefPtrWillBeRawPtr<DOMWindow> source, PassOwn Ptr<MessagePortChannelArray> channels, SecurityOrigin* targetOrigin, PassRefPtr< ScriptCallStack> stackTrace, UserGestureToken* userGestureToken)
115 : SuspendableTimer(window.document()) 115 : SuspendableTimer(window.document())
116 , m_window(&window) 116 , m_window(window)
117 , m_message(message) 117 , m_message(message)
118 , m_origin(sourceOrigin) 118 , m_origin(sourceOrigin)
119 , m_source(source) 119 , m_source(source)
120 , m_channels(channels) 120 , m_channels(channels)
121 , m_targetOrigin(targetOrigin) 121 , m_targetOrigin(targetOrigin)
122 , m_stackTrace(stackTrace) 122 , m_stackTrace(stackTrace)
123 , m_userGestureToken(userGestureToken) 123 , m_userGestureToken(userGestureToken)
124 { 124 {
125 } 125 }
126 126
(...skipping 1761 matching lines...) Expand 10 before | Expand all | Expand 10 after
1888 visitor->trace(m_localStorage); 1888 visitor->trace(m_localStorage);
1889 visitor->trace(m_applicationCache); 1889 visitor->trace(m_applicationCache);
1890 visitor->trace(m_performance); 1890 visitor->trace(m_performance);
1891 visitor->trace(m_css); 1891 visitor->trace(m_css);
1892 #if ENABLE(OILPAN) 1892 #if ENABLE(OILPAN)
1893 HeapSupplementable<DOMWindow>::trace(visitor); 1893 HeapSupplementable<DOMWindow>::trace(visitor);
1894 #endif 1894 #endif
1895 } 1895 }
1896 1896
1897 } // namespace WebCore 1897 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/modules/websockets/WebSocketChannel.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698