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

Unified Diff: src/core/SkLiteDL.h

Issue 2231103002: SkLiteDL: turn vtable sideways (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: name it can_skip_destructor 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
« no previous file with comments | « no previous file | src/core/SkLiteDL.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkLiteDL.h
diff --git a/src/core/SkLiteDL.h b/src/core/SkLiteDL.h
index 27e3f276456e7fdf7bcdf93b91fe22ad1e09f69b..07983662cc3c6c2aeb580dab3f481cdec883b011 100644
--- a/src/core/SkLiteDL.h
+++ b/src/core/SkLiteDL.h
@@ -89,8 +89,8 @@ private:
template <typename T, typename... Args>
void* push(size_t, Args&&...);
- template <typename Fn>
- void map(Fn&& fn);
+ template <typename... Args>
+ void map(void (*const [])(void*, Args...), Args...);
SkAutoTMalloc<uint8_t> fBytes;
size_t fUsed;
« no previous file with comments | « no previous file | src/core/SkLiteDL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698