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

Side by Side Diff: Source/core/html/HTMLMediaElement.h

Issue 15959010: Fix scheduleEvent() crash. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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 | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('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) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 bool m_processingPreferenceChange : 1; 570 bool m_processingPreferenceChange : 1;
571 double m_lastTextTrackUpdateTime; 571 double m_lastTextTrackUpdateTime;
572 572
573 RefPtr<TextTrackList> m_textTracks; 573 RefPtr<TextTrackList> m_textTracks;
574 Vector<RefPtr<TextTrack> > m_textTracksWhenResourceSelectionBegan; 574 Vector<RefPtr<TextTrack> > m_textTracksWhenResourceSelectionBegan;
575 575
576 CueIntervalTree m_cueTree; 576 CueIntervalTree m_cueTree;
577 577
578 CueList m_currentlyActiveCues; 578 CueList m_currentlyActiveCues;
579 int m_ignoreTrackDisplayUpdate; 579 int m_ignoreTrackDisplayUpdate;
580 bool m_inDestructor;
580 581
581 #if ENABLE(WEB_AUDIO) 582 #if ENABLE(WEB_AUDIO)
582 // This is a weak reference, since m_audioSourceNode holds a reference to us . 583 // This is a weak reference, since m_audioSourceNode holds a reference to us .
583 // The value is set just after the MediaElementAudioSourceNode is created. 584 // The value is set just after the MediaElementAudioSourceNode is created.
584 // The value is cleared in MediaElementAudioSourceNode::~MediaElementAudioSo urceNode(). 585 // The value is cleared in MediaElementAudioSourceNode::~MediaElementAudioSo urceNode().
585 MediaElementAudioSourceNode* m_audioSourceNode; 586 MediaElementAudioSourceNode* m_audioSourceNode;
586 #endif 587 #endif
587 588
588 String m_mediaGroup; 589 String m_mediaGroup;
589 friend class MediaController; 590 friend class MediaController;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 623
623 inline HTMLMediaElement* toMediaElement(Node* node) 624 inline HTMLMediaElement* toMediaElement(Node* node)
624 { 625 {
625 ASSERT_WITH_SECURITY_IMPLICATION(!node || isMediaElement(node)); 626 ASSERT_WITH_SECURITY_IMPLICATION(!node || isMediaElement(node));
626 return static_cast<HTMLMediaElement*>(node); 627 return static_cast<HTMLMediaElement*>(node);
627 } 628 }
628 629
629 } //namespace 630 } //namespace
630 631
631 #endif 632 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698