diff options
Diffstat (limited to 'src/core/SkStream.cpp')
-rw-r--r-- | src/core/SkStream.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/core/SkStream.cpp b/src/core/SkStream.cpp index 4def1469d2..6187f817d1 100644 --- a/src/core/SkStream.cpp +++ b/src/core/SkStream.cpp @@ -187,11 +187,6 @@ bool SkWStream::writeStream(SkStream* stream, size_t length) { SkFILEStream::SkFILEStream(const char file[]) : fName(file) { -#ifdef SK_BUILD_FOR_BREW - if (SkStrEndsWith(fName.c_str(), ".xml")) - fName.writable_str()[fName.size()-3] = 'b'; -#endif - fFILE = file ? sk_fopen(fName.c_str(), kRead_SkFILE_Flag) : NULL; } @@ -204,11 +199,6 @@ SkFILEStream::~SkFILEStream() void SkFILEStream::setPath(const char path[]) { fName.set(path); -#ifdef SK_BUILD_FOR_BREW - if (SkStrEndsWith(fName.c_str(), ".xml")) - fName.writable_str()[fName.size()-3] = 'b'; -#endif - if (fFILE) { sk_fclose(fFILE); |