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

Unified Diff: tools/picture_utils.h

Issue 646213002: Eliminate one copy of replace_char() function. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/tools.gyp ('k') | tools/skimage_main.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/picture_utils.h
diff --git a/tools/picture_utils.h b/tools/picture_utils.h
index a5fcf7c96898cdcc178849025d2d98a4f5481639..14f48653050a50675125faf7da610fa87ba7447d 100644
--- a/tools/picture_utils.h
+++ b/tools/picture_utils.h
@@ -23,9 +23,8 @@ namespace sk_tools {
/**
* Replaces all instances of oldChar with newChar in str.
*
- * TODO: This function appears here and in skimage_main.cpp ;
- * we should add the implementation to src/core/SkString.cpp, write tests for it,
- * and remove it from elsewhere.
+ * TODO: We should add the implementation to src/core/SkString.cpp, write
+ * tests for it.
*/
void replace_char(SkString* str, const char oldChar, const char newChar);
reed1 2014/10/15 14:13:07 Hey, this looks semantically dangerous. SkString i
« no previous file with comments | « gyp/tools.gyp ('k') | tools/skimage_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698