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

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

Issue 2909613002: Replaced usage of RefPtr::Release with std::move wraps. (Closed)
Patch Set: Created 3 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/platform/fonts/FontFallbackIterator.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/FontFallbackIterator.cpp b/third_party/WebKit/Source/platform/fonts/FontFallbackIterator.cpp
index 782f704a2a6b98d926397dc8a498bbfe3790cc8c..e63b3070c64620a14172f10e83a8551c7ca7a1b7 100644
--- a/third_party/WebKit/Source/platform/fonts/FontFallbackIterator.cpp
+++ b/third_party/WebKit/Source/platform/fonts/FontFallbackIterator.cpp
@@ -94,7 +94,7 @@ PassRefPtr<FontDataForRangeSet> FontFallbackIterator::Next(
RefPtr<FontDataForRangeSet> fallback_priority_font_range =
AdoptRef(new FontDataForRangeSet(FallbackPriorityFont(hint_list[0])));
if (fallback_priority_font_range->HasFontData())
- return UniqueOrNext(fallback_priority_font_range.Release(), hint_list);
+ return UniqueOrNext(std::move(fallback_priority_font_range), hint_list);
return Next(hint_list);
}

Powered by Google App Engine
This is Rietveld 408576698