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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontDataCache.cpp

Issue 2949103006: Removed RefPtr::Release. (Closed)
Patch Set: Removed Release from mac specific code Created 3 years, 6 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/platform/fonts/FontDataCache.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/FontDataCache.cpp b/third_party/WebKit/Source/platform/fonts/FontDataCache.cpp
index 958485d5c5d0543d5c19d1606ce52fd4f676b3d2..8fa38e51e8fe819f4811587c80eb4fab3f4f5995 100644
--- a/third_party/WebKit/Source/platform/fonts/FontDataCache.cpp
+++ b/third_party/WebKit/Source/platform/fonts/FontDataCache.cpp
@@ -71,7 +71,7 @@ PassRefPtr<SimpleFontData> FontDataCache::Get(
cache_.Set(&new_value.first->PlatformData(), new_value);
if (should_retain == kDoNotRetain)
inactive_font_data_.insert(new_value.first);
- return new_value.first.Release();
+ return std::move(new_value.first);
}
if (!result.Get()->value.second) {

Powered by Google App Engine
This is Rietveld 408576698