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

Unified Diff: third_party/WebKit/Source/core/layout/ClipPathOperation.h

Issue 2014483003: Rename OwnPtr::clear() to reset() in core/. (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/core/layout/ClipPathOperation.h
diff --git a/third_party/WebKit/Source/core/layout/ClipPathOperation.h b/third_party/WebKit/Source/core/layout/ClipPathOperation.h
index 264fc76df3dfbea9d804f59b9334b4775316d95d..7258316537821015816a9dce3065169d712e1873 100644
--- a/third_party/WebKit/Source/core/layout/ClipPathOperation.h
+++ b/third_party/WebKit/Source/core/layout/ClipPathOperation.h
@@ -104,7 +104,7 @@ public:
const Path& path(const FloatRect& boundingRect)
{
ASSERT(m_shape);
- m_path.clear();
+ m_path.reset();
m_path = adoptPtr(new Path);
m_shape->path(*m_path, boundingRect);
m_path->setWindRule(m_shape->getWindRule());
« no previous file with comments | « third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698