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

Unified Diff: src/codec/SkJpegUtility_codec.cpp

Issue 1181093008: Try again to rename one SkJpegUtility.h to remove ambiguity. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/codec/SkJpegUtility_codec.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/codec/SkJpegUtility_codec.cpp
diff --git a/src/codec/SkJpegUtility.cpp b/src/codec/SkJpegUtility_codec.cpp
similarity index 98%
rename from src/codec/SkJpegUtility.cpp
rename to src/codec/SkJpegUtility_codec.cpp
index 5dccf942bce32adf34b4ff7f97c40080f1de3e97..75a562a00454f45f8f0904d2f8a055fc1f65b006 100644
--- a/src/codec/SkJpegUtility.cpp
+++ b/src/codec/SkJpegUtility_codec.cpp
@@ -6,7 +6,7 @@
*/
#include "SkCodecPriv.h"
-#include "SkJpegUtility.h"
+#include "SkJpegUtility_codec.h"
/*
* Initialize the source manager
@@ -23,7 +23,7 @@ static void sk_init_source(j_decompress_ptr dinfo) {
static boolean sk_fill_input_buffer(j_decompress_ptr dinfo) {
skjpeg_source_mgr* src = (skjpeg_source_mgr*) dinfo->src;
size_t bytes = src->fStream->read(src->fBuffer, skjpeg_source_mgr::kBufferSize);
-
+
// libjpeg is still happy with a less than full read, as long as the result is non-zero
if (bytes == 0) {
return false;
« no previous file with comments | « src/codec/SkJpegUtility_codec.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698