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

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

Issue 463543002: Oilpan: Ensure that classes with virtual trace methods always have vtables for their left-most base… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 virtual ~BlobLoader() { } 65 virtual ~BlobLoader() { }
66 66
67 void cancel(); 67 void cancel();
68 68
69 // FileReaderLoaderClient functions. 69 // FileReaderLoaderClient functions.
70 virtual void didStartLoading() OVERRIDE { } 70 virtual void didStartLoading() OVERRIDE { }
71 virtual void didReceiveData() OVERRIDE { } 71 virtual void didReceiveData() OVERRIDE { }
72 virtual void didFinishLoading() OVERRIDE; 72 virtual void didFinishLoading() OVERRIDE;
73 virtual void didFail(FileError::ErrorCode) OVERRIDE; 73 virtual void didFail(FileError::ErrorCode) OVERRIDE;
74 74
75 void trace(Visitor* visitor) 75 virtual void trace(Visitor* visitor)
76 { 76 {
77 visitor->trace(m_channel); 77 visitor->trace(m_channel);
78 } 78 }
79 79
80 private: 80 private:
81 Member<NewWebSocketChannelImpl> m_channel; 81 Member<NewWebSocketChannelImpl> m_channel;
82 FileReaderLoader m_loader; 82 FileReaderLoader m_loader;
83 }; 83 };
84 84
85 NewWebSocketChannelImpl::BlobLoader::BlobLoader(PassRefPtr<BlobDataHandle> blobD ataHandle, NewWebSocketChannelImpl* channel) 85 NewWebSocketChannelImpl::BlobLoader::BlobLoader(PassRefPtr<BlobDataHandle> blobD ataHandle, NewWebSocketChannelImpl* channel)
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 } 557 }
558 558
559 void NewWebSocketChannelImpl::trace(Visitor* visitor) 559 void NewWebSocketChannelImpl::trace(Visitor* visitor)
560 { 560 {
561 visitor->trace(m_blobLoader); 561 visitor->trace(m_blobLoader);
562 visitor->trace(m_client); 562 visitor->trace(m_client);
563 WebSocketChannel::trace(visitor); 563 WebSocketChannel::trace(visitor);
564 } 564 }
565 565
566 } // namespace blink 566 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698