aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2014-07-14 10:13:57 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-07-14 10:13:57 -0700
commit3b72f792898237e9cec4dd095ef56169d0317f71 (patch)
treeb9128ea5aa85241b2b1ffd364c483fb3f041b2bc
parented458688e284508f17a0408a093d89a8b5966e32 (diff)
remove unused SkPixelRef constructor
TBR= Author: reed@google.com Review URL: https://codereview.chromium.org/390893002
-rw-r--r--include/core/SkPixelRef.h3
-rw-r--r--src/core/SkPixelRef.cpp4
2 files changed, 1 insertions, 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