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

Side by Side Diff: Source/modules/websockets/DOMWebSocket.cpp

Issue 1130793002: Oilpan: switch some leftover raw references over to traced Member<>s. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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/modules/websockets/DOMWebSocket.h ('k') | no next file » | 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 void DOMWebSocket::EventQueue::resumeTimerFired(Timer<EventQueue>*) 147 void DOMWebSocket::EventQueue::resumeTimerFired(Timer<EventQueue>*)
148 { 148 {
149 ASSERT(m_state == Suspended); 149 ASSERT(m_state == Suspended);
150 m_state = Active; 150 m_state = Active;
151 dispatchQueuedEvents(); 151 dispatchQueuedEvents();
152 } 152 }
153 153
154 DEFINE_TRACE(DOMWebSocket::EventQueue) 154 DEFINE_TRACE(DOMWebSocket::EventQueue)
155 { 155 {
156 visitor->trace(m_target);
156 visitor->trace(m_events); 157 visitor->trace(m_events);
157 } 158 }
158 159
159 const size_t maxReasonSizeInBytes = 123; 160 const size_t maxReasonSizeInBytes = 123;
160 161
161 static inline bool isValidSubprotocolCharacter(UChar character) 162 static inline bool isValidSubprotocolCharacter(UChar character)
162 { 163 {
163 const UChar minimumProtocolCharacter = '!'; // U+0021. 164 const UChar minimumProtocolCharacter = '!'; // U+0021.
164 const UChar maximumProtocolCharacter = '~'; // U+007E. 165 const UChar maximumProtocolCharacter = '~'; // U+007E.
165 // Set to true if character does not matches "separators" ABNF defined in 166 // Set to true if character does not matches "separators" ABNF defined in
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 DEFINE_TRACE(DOMWebSocket) 687 DEFINE_TRACE(DOMWebSocket)
687 { 688 {
688 visitor->trace(m_channel); 689 visitor->trace(m_channel);
689 visitor->trace(m_eventQueue); 690 visitor->trace(m_eventQueue);
690 WebSocketChannelClient::trace(visitor); 691 WebSocketChannelClient::trace(visitor);
691 RefCountedGarbageCollectedEventTargetWithInlineData<DOMWebSocket>::trace(vis itor); 692 RefCountedGarbageCollectedEventTargetWithInlineData<DOMWebSocket>::trace(vis itor);
692 ActiveDOMObject::trace(visitor); 693 ActiveDOMObject::trace(visitor);
693 } 694 }
694 695
695 } // namespace blink 696 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/websockets/DOMWebSocket.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698