commit | d4c34f208aa3b76c5941395823c6dcf6bb7e2f34 | [log] [tgz] |
---|---|---|
author | thestig <thestig@chromium.org> | Wed Sep 28 17:04:51 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Sep 28 17:04:51 2016 -0700 |
tree | b0d73710639ddfe2fff5578e7cd6b761cd4052ed | |
parent | 5ef75ba52b1ce6024d6aa43b03e25824a04b469b [diff] [blame] |
Replace std::unique_ptr.reset() with WrapUnique assignment. fpdfsdk/ edition. Review-Url: https://codereview.chromium.org/2381723002
diff --git a/fpdfsdk/javascript/JS_Runtime_Stub.cpp b/fpdfsdk/javascript/JS_Runtime_Stub.cpp index 2c7eda8..3b316aa 100644 --- a/fpdfsdk/javascript/JS_Runtime_Stub.cpp +++ b/fpdfsdk/javascript/JS_Runtime_Stub.cpp
@@ -124,7 +124,7 @@ IJS_Context* NewContext() override { if (!m_pContext) - m_pContext.reset(new CJS_ContextStub()); + m_pContext = WrapUnique(new CJS_ContextStub()); return GetCurrentContext(); }