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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutView.cpp

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/LayoutView.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp
index 132be2fb589a8a215146b36381778db2c6350812..857190796e1ccecdd8c88daed1c586e3813195fb 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
@@ -251,7 +251,7 @@ void LayoutView::layout()
if (!m_fragmentationContext)
m_fragmentationContext = adoptPtr(new ViewFragmentationContext(*this));
} else if (m_fragmentationContext) {
- m_fragmentationContext.clear();
+ m_fragmentationContext.reset();
}
SubtreeLayoutScope layoutScope(*this);
@@ -997,7 +997,7 @@ void LayoutView::willBeDestroyed()
if (PaintLayer* layer = this->layer())
layer->setNeedsRepaint();
LayoutBlockFlow::willBeDestroyed();
- m_compositor.clear();
+ m_compositor.reset();
}
void LayoutView::registerMediaForPositionChangeNotification(LayoutMedia& media)

Powered by Google App Engine
This is Rietveld 408576698