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

Side by Side Diff: third_party/WebKit/Source/modules/encryptedmedia/MediaKeyMessageEvent.h

Issue 1878463002: Move DOMArrayBuffer, DOMArrayBufferViews and DataView to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tidy Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple Inc. All rights reserved.
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 String messageType() const { return m_messageType; } 54 String messageType() const { return m_messageType; }
55 DOMArrayBuffer* message() const { return m_message.get(); } 55 DOMArrayBuffer* message() const { return m_message.get(); }
56 56
57 DECLARE_VIRTUAL_TRACE(); 57 DECLARE_VIRTUAL_TRACE();
58 58
59 private: 59 private:
60 MediaKeyMessageEvent(); 60 MediaKeyMessageEvent();
61 MediaKeyMessageEvent(const AtomicString& type, const MediaKeyMessageEventIni t& initializer); 61 MediaKeyMessageEvent(const AtomicString& type, const MediaKeyMessageEventIni t& initializer);
62 62
63 String m_messageType; 63 String m_messageType;
64 RefPtr<DOMArrayBuffer> m_message; 64 Member<DOMArrayBuffer> m_message;
65 }; 65 };
66 66
67 } // namespace blink 67 } // namespace blink
68 68
69 #endif // MediaKeyMessageEvent_h 69 #endif // MediaKeyMessageEvent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698