Update broken references to image assets
[chromium-blink-merge.git] / base / threading / non_thread_safe_impl.cc
blob7e729d9ee4265143788737273ea8eef28cecce81
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/threading/non_thread_safe_impl.h"
7 #include "base/logging.h"
9 namespace base {
11 bool NonThreadSafeImpl::CalledOnValidThread() const {
12 return thread_checker_.CalledOnValidThread();
15 NonThreadSafeImpl::~NonThreadSafeImpl() {
16 DCHECK(CalledOnValidThread());
19 void NonThreadSafeImpl::DetachFromThread() {
20 thread_checker_.DetachFromThread();
23 } // namespace base