Skip to content
Browse files

Fix assigning NULL to scoped_refptr

Update code where NULL or 0 is assigned to a scoped_refptr to reset it. Just
call reset() instead. If operator=(std::nullptr_t) is added these assignments
become ambiguous.

This CL was uploaded by git cl split.

Bug: 1024981
Change-Id: Id9096057c47c70ad94e97ddb42984c71e0ab078e
Auto-Submit: kylechar <>
Reviewed-by: Ross McIlroy <>
Commit-Queue: kylechar <>
Cr-Commit-Position: refs/heads/master@{#715682}
  • Loading branch information
kylechar Commit Bot
kylechar authored and Commit Bot committed Nov 15, 2019
1 parent 93b0c4b commit b7d3d3763e175296d3de42abf0af071fd63c588d
Showing with 1 addition and 1 deletion.
  1. +1 −1 gin/
@@ -146,7 +146,7 @@ void ArrayBuffer::Private::FirstWeakCallback(
void ArrayBuffer::Private::SecondWeakCallback(
const v8::WeakCallbackInfo<Private>& data) {
Private* parameter = data.GetParameter();
parameter->self_reference_ = NULL;

// ArrayBuffer ----------------------------------------------------------------

0 comments on commit b7d3d37

Please sign in to comment.
You can’t perform that action at this time.