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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2014493002: Rename OwnPtr::clear() to reset() in web/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 6da1ba8bae2a0d6a9dcdec25ebc16bbc183e59f1..830df41c99311a668cbe970767ff86a85e23982c 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -968,7 +968,7 @@ void WebViewImpl::transferActiveWheelFlingAnimation(const WebActiveWheelFlingPar
bool WebViewImpl::endActiveFlingAnimation()
{
if (m_gestureAnimation) {
- m_gestureAnimation.clear();
+ m_gestureAnimation.reset();
m_flingSourceDevice = WebGestureDeviceUninitialized;
if (m_layerTreeView)
m_layerTreeView->didStopFlinging();
@@ -2767,7 +2767,7 @@ void WebViewImpl::willCloseLayerTreeView()
if (m_linkHighlightsTimeline) {
m_linkHighlights.clear();
detachCompositorAnimationTimeline(m_linkHighlightsTimeline.get());
- m_linkHighlightsTimeline.clear();
+ m_linkHighlightsTimeline.reset();
}
if (m_layerTreeView)
@@ -4133,7 +4133,7 @@ void WebViewImpl::setZoomFactorOverride(float zoomFactor)
void WebViewImpl::setPageOverlayColor(WebColor color)
{
if (m_pageColorOverlay)
- m_pageColorOverlay.clear();
+ m_pageColorOverlay.reset();
if (color == Color::transparent)
return;
« no previous file with comments | « third_party/WebKit/Source/web/WebDataSourceImpl.cpp ('k') | third_party/WebKit/Source/web/tests/SpinLockTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698