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

Side by Side Diff: Source/web/WebSocketChannelClientProxy.h

Issue 835363003: Oilpan: add missing leftmost trace()s for GC mixins. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebSocketChannelClientProxy_h 5 #ifndef WebSocketChannelClientProxy_h
6 #define WebSocketChannelClientProxy_h 6 #define WebSocketChannelClientProxy_h
7 7
8 #include "modules/websockets/WebSocketChannelClient.h" 8 #include "modules/websockets/WebSocketChannelClient.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "web/WebSocketImpl.h" 10 #include "web/WebSocketImpl.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 { 52 {
53 m_impl->didStartClosingHandshake(); 53 m_impl->didStartClosingHandshake();
54 } 54 }
55 virtual void didClose(ClosingHandshakeCompletionStatus status, unsigned shor t code, const String& reason) override 55 virtual void didClose(ClosingHandshakeCompletionStatus status, unsigned shor t code, const String& reason) override
56 { 56 {
57 WebSocketImpl* impl = m_impl; 57 WebSocketImpl* impl = m_impl;
58 m_impl = nullptr; 58 m_impl = nullptr;
59 impl->didClose(status, code, reason); 59 impl->didClose(status, code, reason);
60 } 60 }
61 61
62 virtual void trace(Visitor* visitor) override
63 {
64 WebSocketChannelClient::trace(visitor);
65 }
66
62 private: 67 private:
63 explicit WebSocketChannelClientProxy(WebSocketImpl* impl) 68 explicit WebSocketChannelClientProxy(WebSocketImpl* impl)
64 : m_impl(impl) 69 : m_impl(impl)
65 { 70 {
66 } 71 }
67 72
68 WebSocketImpl* m_impl; 73 WebSocketImpl* m_impl;
69 }; 74 };
70 75
71 } // namespace blink 76 } // namespace blink
72 77
73 #endif // WebSocketChannelClientProxy_h 78 #endif // WebSocketChannelClientProxy_h
OLDNEW
« Source/web/WebRemoteFrameImpl.h ('K') | « Source/web/WebRemoteFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698