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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.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/paint/PaintLayer.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h
index b190197cf90abb94029d6366dba38807390cc17e..0d627d0ae47110f86fbebedfb13fb215c01d029a 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
@@ -696,7 +696,7 @@ public:
m_clipRectsCache = adoptPtr(new ClipRectsCache);
return *m_clipRectsCache;
}
- void clearClipRectsCache() const { m_clipRectsCache.clear(); }
+ void clearClipRectsCache() const { m_clipRectsCache.reset(); }
void dirty3DTransformedDescendantStatus();
// Both updates the status, and returns true if descendants of this have 3d.

Powered by Google App Engine
This is Rietveld 408576698