| Index: third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
 | 
| diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
 | 
| index 2b554b54362aa1de55080ff79e61bf09aad4937e..994b7c5c0d81a71a4fb795f71705aaa49354d644 100644
 | 
| --- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
 | 
| +++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
 | 
| @@ -46,6 +46,7 @@
 | 
|  #include "core/imagebitmap/ImageBitmapOptions.h"
 | 
|  #include "core/layout/LayoutHTMLCanvas.h"
 | 
|  #include "core/paint/PaintLayer.h"
 | 
| +#include "platform/Histogram.h"
 | 
|  #include "platform/MIMETypeRegistry.h"
 | 
|  #include "platform/RuntimeEnabledFeatures.h"
 | 
|  #include "platform/graphics/Canvas2DImageBufferSurface.h"
 | 
| @@ -237,8 +238,10 @@ CanvasRenderingContext* HTMLCanvasElement::getCanvasRenderingContext(const Strin
 | 
|          return nullptr;
 | 
|  
 | 
|      // Log the aliased context type used.
 | 
| -    if (!m_context)
 | 
| -        Platform::current()->histogramEnumeration("Canvas.ContextType", contextType, CanvasRenderingContext::ContextTypeCount);
 | 
| +    if (!m_context) {
 | 
| +        DEFINE_STATIC_LOCAL(EnumerationHistogram, contextTypeHistogram, ("Canvas.ContextType", CanvasRenderingContext::ContextTypeCount));
 | 
| +        contextTypeHistogram.count(contextType);
 | 
| +    }
 | 
|  
 | 
|      contextType = CanvasRenderingContext::resolveContextTypeAliases(contextType);
 | 
|  
 | 
| 
 |