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

Side by Side Diff: src/ports/SkImagesSupport_noimages.cpp

Issue 647973006: Remove a SkImageDecoder reference from SkPicture.h (Closed) Base URL: https://skia.googlesource.com/skia.git@separate-image-encoder-02-debug-functionality
Patch Set: Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « src/ports/SkImagesSupport_default.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #include "SkImagesSupport.h" 1 #include "SkImagesSupport.h"
2 #include "SkPicture.h"
2 3
3 // This file should be compiled for embedders that do not compile the images sub library 4 // This file should be compiled for embedders that do not compile the images sub library
4 // as part of Skia library. 5 // as part of Skia library.
6
7 SkPicture* SkPicture::CreateFromStream(SkStream* stream) {
8 return SkPicture::CreateFromStream(stream, NULL);
9 }
10
5 #if SK_SUPPORT_GPU && defined(SK_DEVELOPER) 11 #if SK_SUPPORT_GPU && defined(SK_DEVELOPER)
6 12
7 bool SkSaveGrSurfacePrivPixelsAsPNG(GrSurfacePriv*, const char*) { 13 bool SkSaveGrSurfacePrivPixelsAsPNG(GrSurfacePriv*, const char*) {
8 SK_CRASH(); 14 SK_CRASH();
9 return false; 15 return false;
10 } 16 }
11 17
12 #endif 18 #endif
OLDNEW
« no previous file with comments | « src/ports/SkImagesSupport_default.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698