|
Lines 1-3
a/Source/WebCore/ChangeLog_sec1
|
|
|
1 |
2015-02-16 Gyuyoung Kim <gyuyoung.kim@samsung.com> |
| 2 |
|
| 3 |
Use std::unique_ptr instead of PassOwnPtr|OwnPtr in MediaPlayerFoo classes |
| 4 |
https://bugs.webkit.org/show_bug.cgi?id=137765 |
| 5 |
|
| 6 |
Reviewed by NOBODY (OOPS!). |
| 7 |
|
| 8 |
As a step to use std::unique_ptr|std::make_unique<>, this patch changes use of OwnPtr|PassOwnPtr with |
| 9 |
std::unique_ptr<>|std::make_unique<>. However MediaPlayer has used factory pattern, thus create() factory |
| 10 |
function should be kept to use factory pattern. Thus this patch sets contructor to private, and uses std::unique_ptr |
| 11 |
in the create() factory functions. |
| 12 |
|
| 13 |
No new tests, no behavior changes. |
| 14 |
|
| 15 |
* html/HTMLMediaElement.cpp: |
| 16 |
(WebCore::HTMLMediaElement::parseAttribute): |
| 17 |
* html/HTMLMediaElement.h: |
| 18 |
* platform/graphics/MediaPlayer.cpp: |
| 19 |
(WebCore::NullMediaPlayerPrivate::NullMediaPlayerPrivate): |
| 20 |
(WebCore::createNullMediaPlayer): |
| 21 |
* platform/graphics/MediaPlayer.h: |
| 22 |
(WebCore::MediaPlayer::create): |
| 23 |
* platform/graphics/MediaPlayerPrivate.h: |
| 24 |
* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h: |
| 25 |
* platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp: |
| 26 |
(WebCore::MediaPlayerPrivateAVFoundationCF::create): |
| 27 |
* platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h: |
| 28 |
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h: |
| 29 |
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: |
| 30 |
(WebCore::MediaPlayerPrivateAVFoundationObjC::create): |
| 31 |
* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h: |
| 32 |
* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm: |
| 33 |
(WebCore::MediaPlayerPrivateMediaSourceAVFObjC::create): |
| 34 |
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: |
| 35 |
(WebCore::MediaPlayerPrivateGStreamer::create): |
| 36 |
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h: |
| 37 |
* platform/graphics/mac/MediaPlayerPrivateQTKit.h: |
| 38 |
* platform/graphics/mac/MediaPlayerPrivateQTKit.mm: |
| 39 |
(WebCore::MediaPlayerPrivateQTKit::create): |
| 40 |
* platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp: |
| 41 |
(WebCore::MediaPlayerPrivateMediaFoundation::create): |
| 42 |
* platform/graphics/win/MediaPlayerPrivateMediaFoundation.h: |
| 43 |
* platform/mock/mediasource/MockMediaPlayerMediaSource.cpp: |
| 44 |
(WebCore::MockMediaPlayerMediaSource::create): |
| 45 |
* platform/mock/mediasource/MockMediaPlayerMediaSource.h: |
| 46 |
|
| 1 |
2015-02-16 Milan Crha <mcrha@redhat.com> |
47 |
2015-02-16 Milan Crha <mcrha@redhat.com> |
| 2 |
|
48 |
|
| 3 |
[GTK] Loading page into WebView shows g_closure_unref warning |
49 |
[GTK] Loading page into WebView shows g_closure_unref warning |