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

Unified Diff: src/core/SkImageGeneratorPriv.h

Issue 295243006: hide discardable factory from public imagegenerator api (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: src/core/SkImageGeneratorPriv.h
diff --git a/src/core/SkImageGeneratorPriv.h b/src/core/SkImageGeneratorPriv.h
new file mode 100644
index 0000000000000000000000000000000000000000..a448821010284a68e92721802e0c5d448c9b4835
--- /dev/null
+++ b/src/core/SkImageGeneratorPriv.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright 2014 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef SkImageGeneratorPriv_DEFINED
+#define SkImageGeneratorPriv_DEFINED
+
+#include "SkImageGenerator.h"
+#include "SkDiscardableMemory.h"
+
+bool SkInstallDiscardablePixelRef(SkImageGenerator*, SkBitmap* destination,
hal.canary 2014/05/23 19:25:01 add that documentation here.
reed1 2014/05/27 12:13:27 Done.
+ SkDiscardableMemory::Factory*);
+
+#endif

Powered by Google App Engine
This is Rietveld 408576698