| Index: Source/core/dom/shadow/ShadowRoot.cpp
|
| diff --git a/Source/core/dom/shadow/ShadowRoot.cpp b/Source/core/dom/shadow/ShadowRoot.cpp
|
| index 61e9671462c90d63f7a21fda4ba1f83eee318ab5..029df2e2c656742ced3a17f68c2997544212f9c3 100644
|
| --- a/Source/core/dom/shadow/ShadowRoot.cpp
|
| +++ b/Source/core/dom/shadow/ShadowRoot.cpp
|
| @@ -39,7 +39,7 @@
|
| #include "core/dom/shadow/InsertionPoint.h"
|
| #include "core/dom/shadow/ShadowRootRareData.h"
|
| #include "core/editing/markup.h"
|
| -#include "core/platform/HistogramSupport.h"
|
| +#include "public/platform/Platform.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -73,7 +73,7 @@ ShadowRoot::ShadowRoot(Document* document, ShadowRootType type)
|
|
|
| if (type == ShadowRoot::AuthorShadowRoot) {
|
| ShadowRootUsageOriginType usageType = document->url().protocolIsInHTTPFamily() ? ShadowRootUsageOriginWeb : ShadowRootUsageOriginNotWeb;
|
| - HistogramSupport::histogramEnumeration("WebCore.ShadowRoot.constructor", usageType, ShadowRootUsageOriginMax);
|
| + WebKit::Platform::current()->histogramEnumeration("WebCore.ShadowRoot.constructor", usageType, ShadowRootUsageOriginMax);
|
| }
|
| }
|
|
|
|
|