Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Side by Side Diff: src/core/SkPixelRef.cpp

Issue 390893002: remove unused SkPixelRef constructor (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/core/SkPixelRef.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1
2 /* 1 /*
3 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
4 * 3 *
5 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 5 * found in the LICENSE file.
7 */ 6 */
7
8 #include "SkPixelRef.h" 8 #include "SkPixelRef.h"
9 #include "SkReadBuffer.h"
10 #include "SkWriteBuffer.h"
11 #include "SkThread.h" 9 #include "SkThread.h"
12 10
13 #ifdef SK_USE_POSIX_THREADS 11 #ifdef SK_USE_POSIX_THREADS
14 12
15 static SkBaseMutex gPixelRefMutexRing[] = { 13 static SkBaseMutex gPixelRefMutexRing[] = {
16 SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT, 14 SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT,
17 SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT, 15 SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT,
18 SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT, 16 SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT,
19 SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT, 17 SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT,
20 18
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 261
264 #ifdef SK_BUILD_FOR_ANDROID 262 #ifdef SK_BUILD_FOR_ANDROID
265 void SkPixelRef::globalRef(void* data) { 263 void SkPixelRef::globalRef(void* data) {
266 this->ref(); 264 this->ref();
267 } 265 }
268 266
269 void SkPixelRef::globalUnref() { 267 void SkPixelRef::globalUnref() {
270 this->unref(); 268 this->unref();
271 } 269 }
272 #endif 270 #endif
OLDNEW
« no previous file with comments | « include/core/SkPixelRef.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698