// Copyright © 2010-2015 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. #include "stdafx.h" #include "TypeUtils.h" #include "JavascriptCallbackWrapper.h" #include "Serialization/V8Serialization.h" using namespace CefSharp::Internals::Serialization; namespace CefSharp { namespace Internals { JavascriptCallbackWrapper::!JavascriptCallbackWrapper() { _value = nullptr; _context = nullptr; } JavascriptCallbackWrapper::~JavascriptCallbackWrapper() { this->!JavascriptCallbackWrapper(); } CefRefPtr JavascriptCallbackWrapper::GetValue() { return _value.get(); } CefRefPtr JavascriptCallbackWrapper::GetContext() { return _context.get(); } } }