Make base::WeakPtr move constructor/operator noexcept to fix GCC build regression

A GCC build regression has happened on DisjointRangeLockManager, as its move
operator and constructor were declared noexcept. This was failing because the
default implementation depended on base::WeakPtr, that did not provide
noexcept declaration for them.

So make base::WeakPtr noexcept.

Bug: 819294
Change-Id: I936784b881c7c1afea136ceedbe9341e76464f95
Reviewed-by: Victor Costan <>
Reviewed-by: Lei Zhang <>
Commit-Queue: José Dapena Paz <>
Cr-Commit-Position: refs/heads/master@{#680341}
2 files changed