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

Unified Diff: base/android/jni_weak_ref.cc

Issue 2769283002: Enable noexcept on Windows, use for a few move constructors. (Closed)
Patch Set: Landmine Created 3 years, 9 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
« no previous file with comments | « base/android/jni_weak_ref.h ('k') | base/values.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/jni_weak_ref.cc
diff --git a/base/android/jni_weak_ref.cc b/base/android/jni_weak_ref.cc
index fe7ea2e5d3618204eabe7f040d140922b9dc7b34..88efa723e5fd61775598ee3e260b3881c387cc99 100644
--- a/base/android/jni_weak_ref.cc
+++ b/base/android/jni_weak_ref.cc
@@ -19,7 +19,8 @@ JavaObjectWeakGlobalRef::JavaObjectWeakGlobalRef(
Assign(orig);
}
-JavaObjectWeakGlobalRef::JavaObjectWeakGlobalRef(JavaObjectWeakGlobalRef&& orig)
+JavaObjectWeakGlobalRef::JavaObjectWeakGlobalRef(
+ JavaObjectWeakGlobalRef&& orig) noexcept
: obj_(orig.obj_) {
orig.obj_ = nullptr;
}
« no previous file with comments | « base/android/jni_weak_ref.h ('k') | base/values.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698