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

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

Issue 1316123003: Style Change: SkNEW->new; SkDELETE->delete (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-26 (Wednesday) 15:59:00 EDT Created 5 years, 3 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/SkImageDecoder_WIC.cpp ('k') | src/ports/SkImageGenerator_skia.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #include "SkBitmap.h" 9 #include "SkBitmap.h"
10 #include "SkImage.h" 10 #include "SkImage.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 bool SkImageDecoder::DecodeMemory(const void*, size_t, SkBitmap*, SkColorType, M ode, Format*) { 42 bool SkImageDecoder::DecodeMemory(const void*, size_t, SkBitmap*, SkColorType, M ode, Format*) {
43 return false; 43 return false;
44 } 44 }
45 45
46 bool SkImageDecoder::buildTileIndex(SkStreamRewindable*, int *width, int *height ) { 46 bool SkImageDecoder::buildTileIndex(SkStreamRewindable*, int *width, int *height ) {
47 return false; 47 return false;
48 } 48 }
49 49
50 bool SkImageDecoder::onBuildTileIndex(SkStreamRewindable* stream, 50 bool SkImageDecoder::onBuildTileIndex(SkStreamRewindable* stream,
51 int* /*width*/, int* /*height*/) { 51 int* /*width*/, int* /*height*/) {
52 SkDELETE(stream); 52 delete stream;
53 return false; 53 return false;
54 } 54 }
55 55
56 56
57 bool SkImageDecoder::decodeSubset(SkBitmap*, const SkIRect&, SkColorType) { 57 bool SkImageDecoder::decodeSubset(SkBitmap*, const SkIRect&, SkColorType) {
58 return false; 58 return false;
59 } 59 }
60 60
61 SkImageDecoder::Format SkImageDecoder::getFormat() const { 61 SkImageDecoder::Format SkImageDecoder::getFormat() const {
62 return kUnknown_Format; 62 return kUnknown_Format;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 } 122 }
123 123
124 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) { 124 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) {
125 return NULL; 125 return NULL;
126 } 126 }
127 127
128 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) { 128 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) {
129 return false; 129 return false;
130 } 130 }
131 ///////////////////////////////////////////////////////////////////////// 131 /////////////////////////////////////////////////////////////////////////
OLDNEW
« no previous file with comments | « src/ports/SkImageDecoder_WIC.cpp ('k') | src/ports/SkImageGenerator_skia.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698