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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp

Issue 2011783002: Rename OwnPtr::clear() to reset() in platform/. (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/platform/graphics/GraphicsLayer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
index a95334c4641afdfbdad83a6da2c60e3f72df8c38..5dec2fd3e73ca24938b89ced6f67f4ef5a3f7deb 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
@@ -936,7 +936,7 @@ void GraphicsLayer::setDrawsContent(bool drawsContent)
updateLayerIsDrawable();
if (!drawsContent && m_paintController)
- m_paintController.clear();
+ m_paintController.reset();
}
void GraphicsLayer::setContentsVisible(bool contentsVisible)
@@ -1114,7 +1114,7 @@ void GraphicsLayer::setContentsToImage(Image* image, RespectImageOrientationEnum
} else {
if (m_imageLayer) {
unregisterContentsLayer(m_imageLayer->layer());
- m_imageLayer.clear();
+ m_imageLayer.reset();
}
}

Powered by Google App Engine
This is Rietveld 408576698