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

Unified Diff: third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.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/shapes/ShapeOutsideInfo.h
diff --git a/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.h b/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.h
index efa0104607bb39ed128921bfdff4095a643479f2..56f27f27e7846740b5bc26a384c1af903bde0767 100644
--- a/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.h
+++ b/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.h
@@ -109,7 +109,7 @@ public:
static void removeInfo(const LayoutBox& key) { infoMap().remove(&key); }
static ShapeOutsideInfo* info(const LayoutBox& key) { return infoMap().get(&key); }
- void markShapeAsDirty() { m_shape.clear(); }
+ void markShapeAsDirty() { m_shape.reset(); }
bool isShapeDirty() { return !m_shape.get(); }
LayoutSize shapeSize() const { return m_referenceBoxLogicalSize; }
bool isComputingShape() const { return m_isComputingShape; }

Powered by Google App Engine
This is Rietveld 408576698