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

Unified Diff: src/pipe/SkDeduper.h

Issue 2201323003: add pipecanvas (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: initial reader Created 4 years, 4 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/pipe/SkDeduper.h
diff --git a/src/pipe/SkDeduper.h b/src/pipe/SkDeduper.h
new file mode 100644
index 0000000000000000000000000000000000000000..929f60f0c86f2f8f992d2632a73d625d1da3d57c
--- /dev/null
+++ b/src/pipe/SkDeduper.h
@@ -0,0 +1,20 @@
+/*
+ * Copyright 2016 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef SkDeduper_DEFINED
+#define SkDeduper_DEFINED
+
+#include "SkTypes.h"
+
+class SkDeduper {
+public:
+ virtual ~SkDeduper() {}
+
+ virtual int32_t findOrDefine(void*) = 0;
+};
+
+#endif

Powered by Google App Engine
This is Rietveld 408576698