| 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..b9337aef1cd7e4e88b7234364a6e41d7c1650369 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 histogram_cache = 0;
|
| + Platform::current()->histogramEnumeration("Event.HitTest", static_cast<int>(metric), static_cast<int>(HitHistogramMetric::MAX_HIT_METRIC), &histogram_cache);
|
| return result;
|
| }
|
|
|
|
|