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

Unified Diff: src/core/SkValue.h

Issue 1605093003: SkValue: improve SkFromValue<T> implementation (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: hal Created 4 years, 11 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/SkValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkValue.h
diff --git a/src/core/SkValue.h b/src/core/SkValue.h
index 5ff9eadc25c7916ede7e71548c75c0c404d65a5c..1f112090568beb48a613064df9d919391a6f789f 100644
--- a/src/core/SkValue.h
+++ b/src/core/SkValue.h
@@ -73,6 +73,7 @@ public:
// Object
void set(Key, SkValue);
+ const SkValue* get(Key) const;
void foreach(std::function<void(Key, const SkValue&)>) const;
// Array
« no previous file with comments | « no previous file | src/core/SkValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698