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

Unified Diff: src/ports/SkDiscardableMemory_none.cpp

Issue 22950012: skia: Added SkDiscardableMemory interface. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 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 | « src/core/SkDiscardableMemory.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ports/SkDiscardableMemory_none.cpp
diff --git a/experimental/SkiaExamples/SkExampleNSView.h b/src/ports/SkDiscardableMemory_none.cpp
similarity index 55%
copy from experimental/SkiaExamples/SkExampleNSView.h
copy to src/ports/SkDiscardableMemory_none.cpp
index 755fcdeb496c2972cbb786799d9a427e2a22ccce..6559097e625aa2646caee81e370c0b6687db2781 100644
--- a/experimental/SkiaExamples/SkExampleNSView.h
+++ b/src/ports/SkDiscardableMemory_none.cpp
@@ -1,4 +1,3 @@
-
/*
* Copyright 2013 Google Inc.
*
@@ -6,8 +5,8 @@
* found in the LICENSE file.
*/
-#import "SkNSView.h"
-
-@interface SkExampleNSView : SkNSView
+#include "SkDiscardableMemory.h"
-@end
+SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) {
+ return NULL;
+}
« no previous file with comments | « src/core/SkDiscardableMemory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698