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

Unified Diff: third_party/WebKit/Source/core/html/canvas/CanvasFontCache.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/html/canvas/CanvasFontCache.cpp
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp b/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp
index a580d8aa6e11e651f54f689d1993cdf61d109276..cc641808684bcb19b9db1164b1c765ef08e30d95 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp
@@ -40,7 +40,7 @@ CanvasFontCache::CanvasFontCache(Document& document)
CanvasFontCache::~CanvasFontCache()
{
- m_mainCachePurgePreventer.clear();
+ m_mainCachePurgePreventer.reset();
if (m_pruningScheduled) {
Platform::current()->currentThread()->removeTaskObserver(this);
}
@@ -124,7 +124,7 @@ void CanvasFontCache::didProcessTask()
m_fontsResolvedUsingDefaultStyle.remove(m_fontLRUList.first());
m_fontLRUList.removeFirst();
}
- m_mainCachePurgePreventer.clear();
+ m_mainCachePurgePreventer.reset();
Platform::current()->currentThread()->removeTaskObserver(this);
m_pruningScheduled = false;
}

Powered by Google App Engine
This is Rietveld 408576698