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

Side by Side Diff: Source/modules/mediasource/MediaSourceBase.cpp

Issue 169293002: Oilpan: Remove GC_INFO_{DEFINE,DECLARE} macros (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixheaptest Created 6 years, 10 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
« no previous file with comments | « Source/modules/mediasource/MediaSourceBase.h ('k') | Source/modules/mediasource/SourceBuffer.h » ('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) 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 if (isUpdating) { 61 if (isUpdating) {
62 exceptionState.throwDOMException(InvalidStateError, "The 'updating' attr ibute is true on one or more of this MediaSource's SourceBuffers."); 62 exceptionState.throwDOMException(InvalidStateError, "The 'updating' attr ibute is true on one or more of this MediaSource's SourceBuffers.");
63 return true; 63 return true;
64 } 64 }
65 65
66 return false; 66 return false;
67 } 67 }
68 68
69 } // namespace 69 } // namespace
70 70
71 DEFINE_GC_INFO(MediaSourceBase);
72
73 MediaSourceBase::MediaSourceBase(ExecutionContext* context) 71 MediaSourceBase::MediaSourceBase(ExecutionContext* context)
74 : ActiveDOMObject(context) 72 : ActiveDOMObject(context)
75 , m_readyState(closedKeyword()) 73 , m_readyState(closedKeyword())
76 , m_asyncEventQueue(GenericEventQueue::create(this)) 74 , m_asyncEventQueue(GenericEventQueue::create(this))
77 , m_attachedElement(0) 75 , m_attachedElement(0)
78 { 76 {
79 } 77 }
80 78
81 MediaSourceBase::~MediaSourceBase() 79 MediaSourceBase::~MediaSourceBase()
82 { 80 {
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 { 347 {
350 return ActiveDOMObject::executionContext(); 348 return ActiveDOMObject::executionContext();
351 } 349 }
352 350
353 URLRegistry& MediaSourceBase::registry() const 351 URLRegistry& MediaSourceBase::registry() const
354 { 352 {
355 return MediaSourceRegistry::registry(); 353 return MediaSourceRegistry::registry();
356 } 354 }
357 355
358 } 356 }
OLDNEW
« no previous file with comments | « Source/modules/mediasource/MediaSourceBase.h ('k') | Source/modules/mediasource/SourceBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698