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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.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/svg/LayoutSVGShape.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h
index d32716a16dd920122bbcc8cd56685bebe0ddffcc..2e4899c116874c87c26a0fe5f6b0c865ba0093e4 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h
@@ -91,7 +91,7 @@ public:
const char* name() const override { return "LayoutSVGShape"; }
protected:
- void clearPath() { m_path.clear(); }
+ void clearPath() { m_path.reset(); }
void createPath();
virtual void updateShapeFromElement();

Powered by Google App Engine
This is Rietveld 408576698