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

Unified Diff: src/core/SkUtils.h

Issue 1722703003: Move SkUtils.h to src/core. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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/SkPngCodec.cpp ('k') | src/views/win/SkOSWindow_win.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkUtils.h
diff --git a/include/core/SkUtils.h b/src/core/SkUtils.h
similarity index 86%
rename from include/core/SkUtils.h
rename to src/core/SkUtils.h
index b5674eceadebb9516223b7875c73bb84c97928d1..332ea8da7e48ab6b4bcc25d72475c6f0b0c6c807 100644
--- a/include/core/SkUtils.h
+++ b/src/core/SkUtils.h
@@ -90,22 +90,4 @@ inline bool SkUnichar_IsVariationSelector(SkUnichar uni) {
return true;
}
-///////////////////////////////////////////////////////////////////////////////
-
-class SkAutoTrace {
-public:
- /** NOTE: label contents are not copied, just the ptr is
- retained, so DON'T DELETE IT.
- */
- SkAutoTrace(const char label[]) : fLabel(label) {
- SkDebugf("--- trace: %s Enter\n", fLabel);
- }
- ~SkAutoTrace() {
- SkDebugf("--- trace: %s Leave\n", fLabel);
- }
-private:
- const char* fLabel;
-};
-#define SkAutoTrace(...) SK_REQUIRE_LOCAL_VAR(SkAutoTrace)
-
#endif
« no previous file with comments | « src/codec/SkPngCodec.cpp ('k') | src/views/win/SkOSWindow_win.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698