| Index: third_party/WebKit/Source/core/layout/HitTestCache.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/HitTestCache.cpp b/third_party/WebKit/Source/core/layout/HitTestCache.cpp
|
| index c38df2b8c877b73fe215a4352b2c8c342c80d133..1231207ae2d07f6ea29e07ef66cc2b029fac6651 100644
|
| --- a/third_party/WebKit/Source/core/layout/HitTestCache.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/HitTestCache.cpp
|
| @@ -28,7 +28,8 @@ bool HitTestCache::lookupCachedResult(HitTestResult& hitResult, uint64_t domTree
|
| }
|
| }
|
| }
|
| - Platform::current()->histogramEnumeration("Event.HitTest", static_cast<int>(metric), static_cast<int>(HitHistogramMetric::MAX_HIT_METRIC));
|
| + static Platform::HistogramCacheSlot histogramCache = 0;
|
| + Platform::current()->histogramEnumeration("Event.HitTest", static_cast<int>(metric), static_cast<int>(HitHistogramMetric::MAX_HIT_METRIC), &histogramCache);
|
| return result;
|
| }
|
|
|
|
|