aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkDataTable.h
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-19 20:22:39 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-19 20:22:39 +0000
commit3cceb9f400583be4ec70da526c23fe81b68dc6ee (patch)
tree38952c34f034e396dfb37cdf725b984268b3c061 /include/core/SkDataTable.h
parent8c5c7a905b708f7c0a991ca7c872af645544afef (diff)
add SkDataTable::NewEmpty()
git-svn-id: http://skia.googlecode.com/svn/trunk@8780 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkDataTable.h')
-rw-r--r--include/core/SkDataTable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkDataTable.h b/include/core/SkDataTable.h
index 4a273eae62..d8de140140 100644
--- a/include/core/SkDataTable.h
+++ b/include/core/SkDataTable.h
@@ -64,6 +64,8 @@ public:
return str;
}
+ static SkDataTable* NewEmpty();
+
/**
* Return a new DataTable that contains a copy of the data stored in each
* "array".