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

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

Issue 887993003: Remove unused globalRef/globalUnref. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 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 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * 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
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkPixelRef.h" 8 #include "SkPixelRef.h"
9 #include "SkThread.h" 9 #include "SkThread.h"
10 10
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 265
266 bool SkPixelRef::onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBy tes[3], 266 bool SkPixelRef::onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBy tes[3],
267 SkYUVColorSpace* colorSpace) { 267 SkYUVColorSpace* colorSpace) {
268 return false; 268 return false;
269 } 269 }
270 270
271 size_t SkPixelRef::getAllocatedSizeInBytes() const { 271 size_t SkPixelRef::getAllocatedSizeInBytes() const {
272 return 0; 272 return 0;
273 } 273 }
274 274
275 ///////////////////////////////////////////////////////////////////////////////
276
277 #ifdef SK_BUILD_FOR_ANDROID
278 void SkPixelRef::globalRef(void* data) {
279 this->ref();
280 }
281
282 void SkPixelRef::globalUnref() {
283 this->unref();
284 }
285 #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