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

Unified Diff: Source/platform/PlatformInstrumentation.h

Issue 1153503008: Remove Unused method PlatformInstrumentation::willResizeImage and didResizeImage. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/PlatformInstrumentation.h
diff --git a/Source/platform/PlatformInstrumentation.h b/Source/platform/PlatformInstrumentation.h
index 1f1dfa0d7dee97aa2a4c3138c7221250d2ea401f..ae892b816529f6fe0c48eeaddfdef3dc840f09ea 100644
--- a/Source/platform/PlatformInstrumentation.h
+++ b/Source/platform/PlatformInstrumentation.h
@@ -60,8 +60,6 @@ public:
static void willDecodeImage(const String& imageType);
static void didDecodeImage();
- static void willResizeImage(bool shouldCache);
- static void didResizeImage();
static void didDrawLazyPixelRef(unsigned long long lazyPixelRefId);
static void willDecodeLazyPixelRef(unsigned long long lazyPixelRefId);
static void didDecodeLazyPixelRef();
@@ -80,16 +78,6 @@ inline void PlatformInstrumentation::didDecodeImage()
TRACE_EVENT_END0(CategoryName, ImageDecodeEvent);
}
-inline void PlatformInstrumentation::willResizeImage(bool shouldCache)
-{
- TRACE_EVENT_BEGIN1(CategoryName, ImageResizeEvent, CachedArgument, shouldCache);
-}
-
-inline void PlatformInstrumentation::didResizeImage()
-{
- TRACE_EVENT_END0(CategoryName, ImageResizeEvent);
-}
-
inline void PlatformInstrumentation::didDrawLazyPixelRef(unsigned long long lazyPixelRefId)
{
TRACE_EVENT_INSTANT1(CategoryName, DrawLazyPixelRefEvent, TRACE_EVENT_SCOPE_THREAD, LazyPixelRef, lazyPixelRefId);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698