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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp

Issue 1444173002: third_party/WebKit: fix typos found in comments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CL Description change, Typo patch apply to upstream master. Created 5 years 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) 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 2727 matching lines...) Expand 10 before | Expand all | Expand 10 after
2738 m_sentEndEvent = false; 2738 m_sentEndEvent = false;
2739 } 2739 }
2740 2740
2741 updatePlayState(); 2741 updatePlayState();
2742 } 2742 }
2743 2743
2744 void HTMLMediaElement::durationChanged() 2744 void HTMLMediaElement::durationChanged()
2745 { 2745 {
2746 WTF_LOG(Media, "HTMLMediaElement::durationChanged(%p)", this); 2746 WTF_LOG(Media, "HTMLMediaElement::durationChanged(%p)", this);
2747 // FIXME: Change WebMediaPlayer to convey the currentTime 2747 // FIXME: Change WebMediaPlayer to convey the currentTime
2748 // when the duration change occured. The current WebMediaPlayer 2748 // when the duration change occurred. The current WebMediaPlayer
2749 // implementations always clamp currentTime() to duration() 2749 // implementations always clamp currentTime() to duration()
2750 // so the requestSeek condition here is always false. 2750 // so the requestSeek condition here is always false.
2751 durationChanged(duration(), currentTime() > duration()); 2751 durationChanged(duration(), currentTime() > duration());
2752 } 2752 }
2753 2753
2754 void HTMLMediaElement::durationChanged(double duration, bool requestSeek) 2754 void HTMLMediaElement::durationChanged(double duration, bool requestSeek)
2755 { 2755 {
2756 WTF_LOG(Media, "HTMLMediaElement::durationChanged(%p, %f, %d)", this, durati on, requestSeek); 2756 WTF_LOG(Media, "HTMLMediaElement::durationChanged(%p, %f, %d)", this, durati on, requestSeek);
2757 2757
2758 // Abort if duration unchanged. 2758 // Abort if duration unchanged.
(...skipping 913 matching lines...) Expand 10 before | Expand all | Expand 10 after
3672 visitor->trace(m_client); 3672 visitor->trace(m_client);
3673 } 3673 }
3674 3674
3675 DEFINE_TRACE(HTMLMediaElement::AudioSourceProviderImpl) 3675 DEFINE_TRACE(HTMLMediaElement::AudioSourceProviderImpl)
3676 { 3676 {
3677 visitor->trace(m_client); 3677 visitor->trace(m_client);
3678 } 3678 }
3679 #endif 3679 #endif
3680 3680
3681 } 3681 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLImageElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLObjectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698