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

Unified Diff: src/core/SkReadBuffer.cpp

Issue 1853383002: Revert of Delete SkFlattenable::Type (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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 | « src/core/SkReadBuffer.h ('k') | src/core/SkScalerContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkReadBuffer.cpp
diff --git a/src/core/SkReadBuffer.cpp b/src/core/SkReadBuffer.cpp
index d57b2237002625a6f04dcd8230920be110f09b04..f220b5a9e61581b35772b5514c1c6fd307e56d8d 100644
--- a/src/core/SkReadBuffer.cpp
+++ b/src/core/SkReadBuffer.cpp
@@ -329,7 +329,11 @@
}
}
-SkFlattenable* SkReadBuffer::readFlattenable() {
+SkFlattenable* SkReadBuffer::readFlattenable(SkFlattenable::Type ft) {
+ //
+ // TODO: confirm that ft matches the factory we decide to use
+ //
+
SkFlattenable::Factory factory = nullptr;
if (fFactoryCount > 0) {
« no previous file with comments | « src/core/SkReadBuffer.h ('k') | src/core/SkScalerContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698