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

Unified Diff: src/ports/SkDiscardableMemory_none.cpp

Issue 74793011: Add SkImageGenerator Interface (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: protected destructor Created 7 years, 1 month 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
Index: src/ports/SkDiscardableMemory_none.cpp
diff --git a/src/ports/SkDiscardableMemory_none.cpp b/src/ports/SkDiscardableMemory_none.cpp
index 6559097e625aa2646caee81e370c0b6687db2781..5bc790b0db11db50fbbb747cccdb77a3ae01c3f6 100644
--- a/src/ports/SkDiscardableMemory_none.cpp
+++ b/src/ports/SkDiscardableMemory_none.cpp
@@ -5,8 +5,8 @@
* found in the LICENSE file.
*/
-#include "SkDiscardableMemory.h"
+#include "SkBasicDiscardableMemory.h"
SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) {
- return NULL;
+ return SkBasicDiscardableMemory::Create(bytes);
scroggo 2013/11/19 22:19:27 If we're going to do this, can we at least put a p
hal.canary 2013/11/20 00:07:10 I don't like a lot of verbosity in my unit tests (
scroggo 2013/11/20 14:21:53 Fair enough. Here's my concern though. Someone can
}

Powered by Google App Engine
This is Rietveld 408576698