chromium/third_party/skia/src/core/SkCachedData.cpp

/*
 * Copyright 2014 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */
#include "src/core/SkCachedData.h"

#include "include/private/base/SkMalloc.h"
#include "include/private/chromium/SkDiscardableMemory.h"

SkCachedData::SkCachedData(void* data, size_t size)
    :{}

SkCachedData::SkCachedData(size_t size, SkDiscardableMemory* dm)
    :{}

SkCachedData::~SkCachedData() {}

class SkCachedData::AutoMutexWritable {};

void SkCachedData::internalRef(bool fromCache) const {}

void SkCachedData::internalUnref(bool fromCache) const {}

///////////////////////////////////////////////////////////////////////////////////////////////////

void SkCachedData::inMutexRef(bool fromCache) {}

bool SkCachedData::inMutexUnref(bool fromCache) {}

void SkCachedData::inMutexLock() {}

void SkCachedData::inMutexUnlock() {}

///////////////////////////////////////////////////////////////////////////////////////////////////

#ifdef SK_DEBUG
void SkCachedData::validate() const {}
#endif