Use std::unique_ptr<> in WebCore/dom, plugin, and graphics
authorgyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Dec 2014 18:55:21 +0000 (18:55 +0000)
committergyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Dec 2014 18:55:21 +0000 (18:55 +0000)
commit5578c5101c24a4cc4aa53859dfc47ca214960cd8
tree9bb01543fa5640cae6e2daef0d4671b34fe95f6a
parent656c466f9fd2826cd92fab90aafe89fe967e23c9
Use std::unique_ptr<> in WebCore/dom, plugin, and graphics
https://bugs.webkit.org/show_bug.cgi?id=139938

Reviewed by Darin Adler.

Replace OwnPtr with std::unique_ptr<> and std::make_unique<>.

* dom/ElementIteratorAssertions.h:
(WebCore::ElementIteratorAssertions::ElementIteratorAssertions):
* dom/MutationObserverRegistration.cpp:
(WebCore::MutationObserverRegistration::observedSubtreeNodeWillDetach):
(WebCore::MutationObserverRegistration::clearTransientRegistrations):
* dom/MutationObserverRegistration.h:
* dom/StyledElement.cpp:
(WebCore::StyledElement::rebuildPresentationAttributeStyle):
* platform/graphics/SimpleFontData.h:
(WebCore::SimpleFontData::boundsForGlyph):
* platform/graphics/freetype/SimpleFontDataFreeType.cpp:
(WebCore::SimpleFontData::canRenderCombiningCharacterSequence):
* platform/graphics/mac/SimpleFontDataMac.mm:
(WebCore::SimpleFontData::canRenderCombiningCharacterSequence):
* plugins/PluginStream.cpp:
(WebCore::PluginStream::didReceiveData):
* plugins/PluginStream.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@177737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/dom/ElementIteratorAssertions.h
Source/WebCore/dom/MutationObserverRegistration.cpp
Source/WebCore/dom/MutationObserverRegistration.h
Source/WebCore/dom/StyledElement.cpp
Source/WebCore/platform/graphics/SimpleFontData.h
Source/WebCore/platform/graphics/freetype/SimpleFontDataFreeType.cpp
Source/WebCore/platform/graphics/mac/SimpleFontDataMac.mm
Source/WebCore/plugins/PluginStream.cpp
Source/WebCore/plugins/PluginStream.h