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

Unified Diff: third_party/WebKit/Source/platform/text/BidiResolver.h

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/text/BidiResolver.h
diff --git a/third_party/WebKit/Source/platform/text/BidiResolver.h b/third_party/WebKit/Source/platform/text/BidiResolver.h
index a909c8c5381478df8d936fb2ebd8b8d0d7e16fc5..f016090bed6b60a0a3832897f872956a920c23ab 100644
--- a/third_party/WebKit/Source/platform/text/BidiResolver.h
+++ b/third_party/WebKit/Source/platform/text/BidiResolver.h
@@ -167,7 +167,7 @@ struct BidiStatus final {
// This copies BidiStatus and may churn the ref on BidiContext.
// I doubt it matters.
- return BidiStatus(direction, direction, direction, context.Release());
+ return BidiStatus(direction, direction, direction, std::move(context));
}
WTF::Unicode::CharDirection eor;

Powered by Google App Engine
This is Rietveld 408576698