From 3b72f792898237e9cec4dd095ef56169d0317f71 Mon Sep 17 00:00:00 2001 From: reed Date: Mon, 14 Jul 2014 10:13:57 -0700 Subject: remove unused SkPixelRef constructor TBR= Author: reed@google.com Review URL: https://codereview.chromium.org/390893002 --- include/core/SkPixelRef.h | 3 --- src/core/SkPixelRef.cpp | 4 +--- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h index 80d1380916..a24ef8e231 100644 --- a/include/core/SkPixelRef.h +++ b/include/core/SkPixelRef.h @@ -320,9 +320,6 @@ protected: */ SkBaseMutex* mutex() const { return fMutex; } - // serialization - SkPixelRef(SkReadBuffer&, SkBaseMutex*); - // only call from constructor. Flags this to always be locked, removing // the need to grab the mutex and call onLockPixels/onUnlockPixels. // Performance tweak to avoid those calls (esp. in multi-thread use case). diff --git a/src/core/SkPixelRef.cpp b/src/core/SkPixelRef.cpp index be46432be1..651b26eefe 100644 --- a/src/core/SkPixelRef.cpp +++ b/src/core/SkPixelRef.cpp @@ -1,13 +1,11 @@ - /* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ + #include "SkPixelRef.h" -#include "SkReadBuffer.h" -#include "SkWriteBuffer.h" #include "SkThread.h" #ifdef SK_USE_POSIX_THREADS -- cgit v1.2.3