summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/platform/PlatformInstrumentation.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/platform/PlatformInstrumentation.h')
-rw-r--r--chromium/third_party/WebKit/Source/platform/PlatformInstrumentation.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/third_party/WebKit/Source/platform/PlatformInstrumentation.h b/chromium/third_party/WebKit/Source/platform/PlatformInstrumentation.h
index 08229fb4977..2397dfe4e62 100644
--- a/chromium/third_party/WebKit/Source/platform/PlatformInstrumentation.h
+++ b/chromium/third_party/WebKit/Source/platform/PlatformInstrumentation.h
@@ -77,7 +77,7 @@ public:
static void didResizeImage();
static void didDrawLazyPixelRef(unsigned long long lazyPixelRefId);
static void willDecodeLazyPixelRef(unsigned long long lazyPixelRefId);
- static void didDecodeLazyPixelRef(unsigned long long lazyPixelRefId);
+ static void didDecodeLazyPixelRef();
private:
static const char CategoryName[];
@@ -89,7 +89,7 @@ private:
inline void PlatformInstrumentation::willDecodeImage(const String& imageType)
{
- TRACE_EVENT_BEGIN1(CategoryName, ImageDecodeEvent, ImageTypeArgument, TRACE_STR_COPY(imageType.ascii().data()));
+ TRACE_EVENT_BEGIN1(CategoryName, ImageDecodeEvent, ImageTypeArgument, imageType.ascii());
FAST_RETURN_IF_NO_CLIENT_OR_NOT_MAIN_THREAD();
m_client->willDecodeImage(imageType);
}
@@ -125,9 +125,9 @@ inline void PlatformInstrumentation::willDecodeLazyPixelRef(unsigned long long l
TRACE_EVENT_BEGIN1(CategoryName, DecodeLazyPixelRefEvent, LazyPixelRef, lazyPixelRefId);
}
-inline void PlatformInstrumentation::didDecodeLazyPixelRef(unsigned long long lazyPixelRefId)
+inline void PlatformInstrumentation::didDecodeLazyPixelRef()
{
- TRACE_EVENT_END1(CategoryName, DecodeLazyPixelRefEvent, LazyPixelRef, lazyPixelRefId);
+ TRACE_EVENT_END0(CategoryName, DecodeLazyPixelRefEvent);
}
} // namespace WebCore