Index: src/core/SkPictureRecord.cpp |
diff --git a/src/core/SkPictureRecord.cpp b/src/core/SkPictureRecord.cpp |
index 997b974802733dba287e2f7d9a46036d66dc0077..c31743da8c2939b802a7f565a9c113867046b8f4 100644 |
--- a/src/core/SkPictureRecord.cpp |
+++ b/src/core/SkPictureRecord.cpp |
@@ -13,7 +13,6 @@ |
#include "SkDevice.h" |
#include "SkOffsetTable.h" |
#include "SkPictureStateTree.h" |
-#include "SkSurface.h" |
#define HEAP_BLOCK_SIZE 4096 |
@@ -1571,7 +1570,7 @@ void SkPictureRecord::onPopCull() { |
/////////////////////////////////////////////////////////////////////////////// |
SkSurface* SkPictureRecord::onNewSurface(const SkImageInfo& info) { |
- return SkSurface::NewPicture(info.fWidth, info.fHeight); |
+ return NULL; |
} |
void SkPictureRecord::trackBitmapUse(int bitmapID, size_t offset) { |